Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd Control behavior
Message
De
24/04/1998 13:56:53
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Odd Control behavior
Divers
Thread ID:
00094725
Message ID:
00094725
Vues:
53
I am trying to put a wrapper control object around another object I have, to force some enacpsulation. The contained object uses some other sub-objects which have inheritances several levels deep.

When the Init() of one of the inherited sub-objects fires, it calls DODEFAULT() - but when that executes the init of the superclass (lost yet?) I get object myObject (if that was it's name) is not found - and the debugger shows the entire object as .NULL.

???
Help? I thought that a control object would be a nice way to put a wrapper on a class, and force my developers to only use the methods I have designated (for lack of a decent protection hierarchy) - Anyone know how I can achieve this, or how to convince a Control object to let superclasses of contained objects access it?

Help?!

Tim
Répondre
Fil
Voir

Click here to load this message in the networking platform