I have spent a lot of time using wxFormBuilder and wxCodeGen.
I think some examples of designing simplistic forms (one with menus only, one with some basic controls, a form that opens a dialogbox and returns the values to the controls, etc) and then how to use the resulting wxCodeGen code ie save the code from the GENERATE button as a GUI file and save the code from the Application Code tab to a Main file.
There are some commands for "Type MyApp Extends wxApp" which i struggled to realise were needed there. for example i added a graphic to my GUI and didn't know that "wxInitAllImageHandlers()" was needed to make them work, along with "wxImage.AddHandler( New wxXPMHandler )". Also "wxSystemOptions.SetOption(wxWINDOW_DEFAULT_VARIANT, wxWINDOW_VARIANT_SMALL)" seems to be a required command from Macs.
Having this in the Applicaton Code tab would be useful too.
' create the frame
Local frame:MyFrame = MyFrame(New MyFrame.Create(, , "My Frames Name"))
' frames are created hidden. You need to manually show it.
frame.show()
' make sure it is brought to the front
SetTopWindow(frame)
I think recommending to beginners like myself to use wxFormBuilder and wxCodeGen is a good idea. More experienced users may not need it but i certainly did.
It would be good if wxFormBuilder came with its own samples folder with pregenerated wxCodeGen code.
I like the fact that wxFormBuilder forces me to use Sizers which simplifies things later one.
I am happy to help with some simple examples with comments, as long as someone more experienced reviews them before they get posted.
Cheers
Glenn