I tried to code an ImageButton with two images for pressed and not-pressed-state like this:
The images are embedded into the executable, and exist. The size is also correct for both.
Code: Select all
ImageGadget(0,0,0,20,20,ImageID(1))
SetGadgetAttribute(0, #PB_Button_PressedImage, ImageID(2))
Is my code wrong?
Or does the Mac-Version not function like expected?
Do I have to manually change the image after catching the event?
Thanks in advance for comments!
Regards,
JamiroKwai