>>Bypassing a class's code to try and call the grandparent's code is a sure sign that your class design has problems.
More like 'SBT's code' ...
But that's nothing new<g>.
>John,
>
>I'll go further than Erik did in his reply.
>
>Don't do it.
>
>Bypassing a class's code to try and call the grandparent's code is a sure sign that your class design has problems. There are better ways to design your classes so that you never have a need to bypass a level of code.
>
>>Hey Fox Experts -
>>I have a dilemma. I am sub-classing a form and in turn the objects within. In one of the objects in the sub-class, I'm modifying the LostFocus method code.
>>
>>I have copied the LostFocus code from the Parent and dropped it into the sub-class method to make mods to it. Within THAT code is a call to the DODEFAULT() of the Parent's Parent.
>>
>>I want to change the code in the sub-class and NOT run the code of the Parent, but I DO want to run the code that Parent called in its DODEFAULT(). I've looked at the Help files and they don't seem to show a way to run a GrandParent's code -- jumping OVER the Parent.
>>
>>Does anybody know of a way?
-- John Kiernan
"Maybe Amelia Earhart was just stealing the plane".