Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create member in code before other members instantiate
Message
From
01/09/2009 23:53:25
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:
01422258
Views:
47
>Hi Dragan,
>
>no, the factory operates outside the scope of the form. It's a function that is part of the core framework, not a loader class on the form:
>
>AddObjectX(Thisform, "name", "id")
>
>This function resolves id, determines it needs to add two objects to Thisform: Name and envName. The classes used for these two objects are specified in a separate definition file.

I also had to resort to a function, because of the datasession. The function will operate in the form's own session, whereas a global object such as a factory would create it in its own - which is usually 1.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform