Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any reason to not use NewObject in form.Load()
Message
From
30/06/2003 12:19:16
 
 
To
20/06/2003 18:18:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00802482
Message ID:
00805356
Views:
22
>Is there any reason I should not add an object to a form in the Load() method?
>
>TIA

Apart from the fact that the form is not fully instantiated at that time, and things get a little screwy?
I tend to do things like that after the form is loaded, in the Init() of the form, or even after that by calling a Setup() user method of the form to be sure everything is working (like proper DataSession for example).
Previous
Reply
Map
View

Click here to load this message in the networking platform