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:
00186723
Views:
13
IF PEMSTATUS(_SCREEN.ActiveForm, "methodname", 5) && Does ActiveForm have PEM?
.....
ENDIF

HTH

>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.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform