Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event Sequencing
Message
 
 
À
24/01/2001 14:32:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00468044
Message ID:
00468163
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform