Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Existence of a Method
Message
De
21/04/2000 16:58:58
 
 
À
20/04/2000 17:06:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00362045
Message ID:
00362368
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform