Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create member in code before other members instantiate
Message
De
01/09/2009 23:53:25
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:
01422258
Vues:
48
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform