Rex ---
ROLFMAO...cool...I rant from time to time myself...occupational hazard.
>>Rex ---
>>
>>Depends on how you are overriding Method2 in that instance. If you just blank out any code there, it will run the superclass code for Method2. If you want it to have -no- behavior, place a RETURN in the method at the instance level.
>>
>>
>>>All,
>>>
>>>I have a class with 2 custom methods, Method1 and Method2.
>>>Both have code. I drop the object on a form and override Method2. When I run the form, I call Method1 of the object which runs the code in the superclass. Method1 calls this.Method2 which I thought would run the overriden Method2 in my object, but it is running the superclass Method2.
>>>
>>>Did I miss something about inheritance?
>>>
>>>TIA
>>>
>>>Rex
>
>John,
>
>Sorry for the premature message, I overrode the wrong method.
>Please disregard previous rantings
>
>Thanks
>
>Rex
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05