PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Dave Paton on January 02, 2012, 09:27:13 PM

Title: Equivalent of Form_Load in VB?
Post by: Dave Paton on January 02, 2012, 09:27:13 PM
In VB, you could use a Form_Load event to put in variable asssignments or whatever initial data you wanted before the program loaded. What is the equivalent in FF3 or PB10? It looks to me as though you would put that kind of stuff in WINMAIN?
Title: Re: Equivalent of Form_Load in VB?
Post by: Robert Eaton on January 02, 2012, 10:31:18 PM
I believe the equivalent to form_Load would be in WM_Create message. If you start a new project and double click the main form, this is the initial message that is shown.

Includes and equates go in FF_AppStart. That is available in the Explorer tab of the Firefly Workspace window.
Title: Re: Equivalent of Form_Load in VB?
Post by: Dave Paton on January 02, 2012, 10:47:16 PM
OK, thanks. I've finally figured out how to reference controls in FF, so the rest of my coding is almost straight out VB.