Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: How to test...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 11306 of 11795
Post > Topic >>

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
 




 4 Posts in Topic:
How to test if a method exist in a super class ???
"Dirk Herijgers"  2008-04-11 12:53:37 
Re: How to test if a method exist in a super class ???
Malcolm Gray <malcolm-  2008-04-11 14:07:30 
Re: How to test if a method exist in a super class ???
"Dirk Herijgers"  2008-04-11 15:54:18 
Re: How to test if a method exist in a super class ???
steve emmett <steven_e  2008-04-12 02:12:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 3:40:00 CST 2008.