Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form state just before and after Form.Init()
Message
De
24/12/2010 10:53:30
 
 
À
23/12/2010 19:08:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01493757
Message ID:
01493795
Vues:
64
>Hi,
>
>I am aware that a from's Init() event fires only after all its controls's Init() are fired.
>
>However, inside the init() method of any of its control, I can change value of the form's property (e.g. THISFORM.Comment = 'I am changed') and I can even call a method of the form, i.e. it seems that the form are fully instantiated / are ready (although its Init() event has not yet been triggered)
>
>Let say I have a form (SCX) where I have no custom codes in its Init() event, my question is:
>Is there any different between the state of such a form after firing its Init() event and before?
>Particularly, what are the things I can't do (if any), inside the Init() event of the form's control with respect to the form itself?

On form.Load you can return .f. to stop the construction process before the members construction.
On form.Init you can return .f. to stop the construction process after the members construction.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform