Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create member in code before other members instantiate
Message
 
À
01/09/2009 09:46:59
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01421954
Message ID:
01422175
Vues:
114
Hi Dragan,

I see. Loading a class dynamically at a later time is your problem. The way I implemented this in one of the frameworks is to instantiate these objects through a factory. The factory would receive an ID, look up the definition and find that it needs to instantiate two classes. One is the data environment, one is the actual class. The DE was made available through a property and (for the duration of the Init) through a private variable.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform