Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Sequencing
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00468044
Message ID:
00468163
Views:
21
>No joke. We do use it for one thing. We have a TreeView and a ImageList in a container. Our baseclass TreeView has some code it's init to set the .ImageList property to the ImageList object, so the ImageList object has to instanciate first.

In that case, I would add them both to a container and add code to the container's Init to do this. If they both have to exist for either one to exist, this makes sense to me. Otherwise, add code in the form's Init to handle this. I just hate to rely on a user-defined instantiation order. Relying on the instantiation order set internally to VFP is not a problem for me.

Just my $0.02.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform