Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CApplication.AddChildren
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00389712
Message ID:
00391502
Vues:
16
Mat,

Is it that you want the User Manager to be instantiated later in the application startup process or that you don't want it instantiated at all?

If the latter, how about creating a factory method that can be overridden...for example, a metnod called CreateUserManager() that contains the following code:

This.Add('oUserMgr', This.oMMFactory.GetClassName('UserMgr'))

A call to this new method could then be placed in CApplication.AddChildren().

Would this address your situation?

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform