Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a form property exists
Message
From
01/12/2000 13:49:29
 
 
To
01/12/2000 00:15:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00443856
Message ID:
00448214
Views:
8
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform