Connect dialogs in Formbuilder

BlitzMax Forums/Brucey's Modules/Connect dialogs in Formbuilder

Volker(Posted 2008) [#1]
Is there a possibility to connect a dialog directly in
Formbuilder (with a button for example), so that the code
for opening the dialog is created by wxCodegen?


Brucey(Posted 2008) [#2]
wxFormbuilder doesn't support embedding of user-code (like you might do in Visual Studio, for example, when double-clicking on a Button).

However, all you need to do, is create an Event on the button, and implement the method in your subclass.... which isn't too much work.

Let me know if you'd like a small example :-)


Volker(Posted 2008) [#3]
However, all you need to do, is create an Event on the button, and implement the method in your subclass.... which isn't too much work.

No need for an example. I have done that already. Just want to be sure there is no easier way :-)