Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a form property exists
Message
De
01/12/2000 13:49:29
 
 
À
01/12/2000 00:15:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00443856
Message ID:
00448214
Vues:
12
>>Is there a way in VFP to determine if a certain property or method exists in my current SCX or VCX ?
>
>Like Trey said, PEMStatus() is probably the best way, but with properties you can usually get away with VARTYPE(This.MyProp) <> 'U'

I note you said "usually". You do have to be aware of VARTYPE() and objects, that the object better exist or you'll get an "Alias not found error".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform