Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I skip the parent method?
Message
 
To
02/01/1998 11:51:08
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00068824
Message ID:
00068956
Views:
37
>Unfortunately TxtBase is the class that ALL my txtBoxes are based on. Doing this would now make ALL txtBoxes
>a subclass of InGrid.
>
>Bill
Bill,

The diagram got screwed up, I am suggesting that InGrid and InGrid2 each need to be separate subclasses of txtBase and not Ingrid2 being a subclass of InGrid.

If you fiund yourslef wanting to skip a level in the inheritence tree, that indicates that the subclass you are working on is NOT in fact a subclass of its superclass but is a sibling class to that one, where both will have the same superclass (in this case making both InGrid and InGrid2 subclasses of txtBase)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform