cryptotech
Technical User
Somewhat new at scripting, but I use dialog boxes with pushbuttons in a lot of my scripts and I like things to look cool in addition to making my tasks easier.
My question is how can I make pushbuttons out of different bitmaps?
GIF's can't be used and I can't seem to resize Icon buttons to make them bigger.
I thought of putting a hotspot over a bitmap in a user window, but the bitmap doesn't display, just a white background with the hotspot where I put it...
This is just a test where I have a hotspot set to just exit the userwindow when clicked.
proc main
integer event
uwincreate full screen 100 255 255 255 bitmap
bitmapbkg center center memory "intro.bmp"
hotspot 101 6836 4466 2383 1354 userwin
while 1 ; Loop forever.
if (Event = $OBJECT) != 0
switch Event
case 101
exitwhile
endcase
endswitch
endif
endwhile
uwinremove
endproc
Any helpful ideas on how to work with graphics (however limited the options may be with Aspect) would be appreciated! thanks!
My question is how can I make pushbuttons out of different bitmaps?
GIF's can't be used and I can't seem to resize Icon buttons to make them bigger.
I thought of putting a hotspot over a bitmap in a user window, but the bitmap doesn't display, just a white background with the hotspot where I put it...
This is just a test where I have a hotspot set to just exit the userwindow when clicked.
proc main
integer event
uwincreate full screen 100 255 255 255 bitmap
bitmapbkg center center memory "intro.bmp"
hotspot 101 6836 4466 2383 1354 userwin
while 1 ; Loop forever.
if (Event = $OBJECT) != 0
switch Event
case 101
exitwhile
endcase
endswitch
endif
endwhile
uwinremove
endproc
Any helpful ideas on how to work with graphics (however limited the options may be with Aspect) would be appreciated! thanks!