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

Click here to load this message in the networking platform