Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Existence of a Method
Message
From
21/04/2000 16:58:58
 
 
To
20/04/2000 17:06:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00362045
Message ID:
00362368
Views:
19
>I am trying to determine if a method exists in a form conditionally. The property existence is easy to check as in:
>
>if type('Thisform.MyProperty') = "U"
>
>Is there an equivalent way to see if a method exists?

Use PEMSTATUS()

IF UPPER(PEMSTATUS(thisform,'MyMethod',3)) = 'METHOD'
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform