Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd Control behavior
Message
From
24/04/1998 13:56:53
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Odd Control behavior
Miscellaneous
Thread ID:
00094725
Message ID:
00094725
Views:
52
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
Reply
Map
View

Click here to load this message in the networking platform