Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form state just before and after Form.Init()
Message
From
25/12/2010 13:26:31
 
 
To
25/12/2010 00:37:50
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01493757
Message ID:
01493842
Views:
83
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform