I use a background sometimes behind gadgets, it makes it look nicer.
But on mac there is no way of clicking on the gadgets. You can only use TAB to get to the next one.
Try this sample and then try to click on the second stringgadget - nothing happens.
On PC the DisableGadget(0,1) line is needed, otherwise it will not work there either.
If there a workaround on the Mac to glue the image to the background without interfering with the functionality of the gadgets?
Code: Select all
UseJPEGImageDecoder()
OpenWindow(0, 220, 0, 480,220, "Image", #PB_Window_ScreenCentered | #PB_Window_SystemMenu )
LoadImage(0,"spine.jpg")
ImageGadget(0, 0, 0, ImageWidth(0),250, ImageID(0))
DisableGadget(0,1)
StringGadget(1, 250, 85, 180, 18, "")
StringGadget(2, 250, 109, 180, 18, "")
SetActiveGadget(1)
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow

