Panel vs button

BlitzMax Forums/BlitzMax Beginners Area/Panel vs button

XE800(Posted 2007) [#1]
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.


jsp(Posted 2007) [#2]
Did you set the group of the button to your panel ?


XE800(Posted 2007) [#3]
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 :-)