Panel vs button

BlitzMax Forums/BlitzMax Beginners Area/Panel vs button

Seems the buttons made with CreateButton doesn't work if they are placed on top of a panel. Is there a way around this? I'd rather not have to use custom buttons, and I'm not sure how to get gfx into my window easy without using panel.

Did you set the group of the button to your panel ?

No, I hadn't, thanks. Also I needed to change the panel to global (I need to be able to make new working buttons outside of the main loop). But now it works, so I'm all happy :-)