Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple form question
Message
From
30/01/2003 15:32:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00747365
Message ID:
00747380
Views:
15
>I just need to verify something that kinda struck me as odd.
>
>Does a controll's init method fire before the form's init method?
>I am using a modal form.
>
>This seems kinda odd to me. If someone could try to explain this behaviour to me maybe it will make sense.
>
>Einar

The form initialization is divided into two phases. Form.Init() fires after the Init() of the contained objects, Form.Load() fires before the Init() of the contained objects.

Load() can be used to prepare tables.

In the Form.Init(), you can reference the contained objects. For instance, you can disable individual objects.

Likewise, the form destruction is also divided into two parts.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform