Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods
Message
From
11/01/2001 09:45:54
 
 
To
11/01/2001 09:18:59
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00462166
Message ID:
00462179
Views:
13
>Is it possible programmaticaly to know if a method exists in an object, like i can test if a variable exists with type() or vartype()
>
>
>Thanks

Use PEMSTATUS() for this, e.g.
ox = CreateObject("form")
If PEMStatus(ox, "Release", 5)
  ? "It has a Release method"
EndIf
See the help for more.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform