Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Load Vs Form Init
Message
From
13/08/2002 20:21:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00689380
Message ID:
00689382
Views:
18
Guys...
>
>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...
>
>Thanks...
>
>regards,
>tut_arie


Hi Tut,

Depends what you want to do. Somethings don't matter, but others do. Just remember that Form.Load fires before any controls on the form get created or initialized. Form.Init fires AFTER all of the form controls get initialized. So, if you are manually opening any data sources your controls are bound to, they need to be opened and made available in the Form.Load.

HTH,

- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform