Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing if an object has a property or method
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186691
Message ID:
00186719
Views:
10
>>Is there a simple way to test if an object has a property or a method? I could use amembers then check the array, but I was wondering if there is a VFP command that alread does this.
>
>If you're testing for a property, TYPE() works fine; the problem comes with testing for a Method with type, since all sorts of strange things can happen if you don't give the prper arguments to a method call...

Thanks Ed!
Previous
Reply
Map
View

Click here to load this message in the networking platform