Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any reason to not use NewObject in form.Load()
Message
De
30/06/2003 12:19:16
 
 
À
20/06/2003 18:18:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00802482
Message ID:
00805356
Vues:
23
>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).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform