Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make sure class A init runs before class B's init
Message
 
To
23/09/2004 02:20:58
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00941850
Message ID:
00945385
Views:
42
I'm not sure this applies, but I use a builder to order the instantiation of controls on a form by their tab order. This way I know which objects get instantiated first. It was something I downloaded a long while back and I don't know the author either.

I does re-orders objects in containers other than forms i.e. grids, pageframes, etc. or objects in groups i.e. optiongroup, commandgroup, etc.

If you want it, just let me know where to send it.

HTH,
Arriyel

>Larry,
>
>I'm not sure what part of the documentation you mean. I found a footnote on "Tracking event Sequences" that might be read this way.
>
>But have a look at "Init event"
>
>This clearly states:
>
>... . The Init event for each contained object occurs in the order it was added to the container object.
>
>Agnes
>>Look at the docs under event sequence just because it is bad documentation does not mean it is undocumented.
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform