Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create member in code before other members instantiate
Message
 
To
01/09/2009 09:46:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01421954
Message ID:
01422175
Views:
115
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform