Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specific Property Exists or not?
Message
De
03/08/2003 07:30:33
 
 
À
03/08/2003 04:23:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00816274
Message ID:
00816281
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform