Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
(OOP) Part Time Composite Objects?
Message
De
25/08/2003 17:43:37
 
 
À
25/08/2003 12:34:54
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00822766
Message ID:
00823212
Vues:
29
>Chris,
>
>Check out kBizObj.GetBizObject() -- It has most of what you're looking for.
>
>As Alex mentioned, you'll probably want to create a property to store the object reference you're creating. We added some custom code to do just that at our kBizObj subclass. It either stores the resulting object reference in an existing property on the "container" object, or creates one using AddProperty().
>

Thanks, that's a good function, but with only one lCreatedInstance, it's a little less robust than I need. I'd been trying to find a way to try and pluck it from the children list, and sort of abandoned the idea when I couldn't wrap my head around it.

Right now, I'm testing an _access method creating it if it doesn't already exist.

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform