Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Load Vs Form Init
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00689380
Message ID:
00689415
Views:
21
Tut,

Form.Load() happens before everything else. So here I tend to put the things that are "data" related. ie SET for all of the data session scoped SETs like DELETED. I also build temp cursors, if needed, in this method so that controls can bind

Form.Init() happens after everything is in place on the form, all the tables are open, the controls all exists so this is where I put the "finishing touches" to get ready for end user interaction with the forms.

>I want to know ...
>where should i put the first statement...
>Is it on the form load
>or the form init...
>
>What's the different of it...
>
>CAuse i try both..
>It's seems there's no different...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform