Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Load Vs Form Init
Message
De
13/08/2002 20:21:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00689380
Message ID:
00689382
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform