Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specific Property Exists or not?
Message
From
03/08/2003 07:30:33
 
 
To
03/08/2003 04:23:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00816274
Message ID:
00816281
Views:
24
>Hi,
>How can I check whether a specific property exists for a control? I want to change the forecolor of all the controls wherever possible. For that, I need to check whether forcolor property exists for each control.
>
>Thanks,
>Yashodhan



You could simply use PEMSTATUS(oObjectName, cProperty, 5)
If PemStatus(ThisForm,"ForeColor",5)
   * exists
Endif


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform