PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: ssukhani on May 08, 2006, 01:05:26 PM

Title: WHat is equivalent of PBMAIN
Post by: ssukhani on May 08, 2006, 01:05:26 PM
Sorry for this newbie question.
I wish to open a cheetah database when the form loads. This would normally be in the PBMain function.
Where should I put the code in Firefly ?
Is there an equivalent of PBMain ?

Thanks.
Title: WHat is equivalent of PBMAIN
Post by: TechSupport on May 08, 2006, 01:24:53 PM
When a Form loads you can place the code in the WM_CREATE for the Form. If you want to load the database when the application loads then put it in the FF_WinMain function (located in the 'Project Explorer' treeview under the branch called 'Special Functions').