Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form state just before and after Form.Init()
Message
De
25/12/2010 13:26:31
 
 
À
25/12/2010 00:37:50
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:
01493842
Vues:
84
>>>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.
>
>What is actually the construction process after the members construction?

Draw the form as a window.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform