Re: How to test if a method exist in a super class ???
by steve emmett <steven_emmett@[EMAIL PROTECTED]
>
Apr 12, 2008 at 02:12 AM
On 11 Apr, 16:54, "Dirk Herijgers" <d...@[EMAIL PROTECTED]
> wrote:
> Malcolm Gray wrote:
> > if you know the class then ismethodclass and sendclass are worth
> > considering.
>
> Hi Malcolm,
>
> I don't know the class, but with classlist I can find all super-cl*****,
> so thanks for giving me this hint.
>
> Dirk, Belgium
>
> --
Use Classtree() to find the classname of each of the parents and then
IsMethodClass() on the returned array to see if the method exists in
the parent tree
or
you could just see if it exists in the current class by using
IsMethod() given that the class inherits methods from it's parents