Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want forecolor red for certain condition
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Want forecolor red for certain condition
Divers
Thread ID:
00867947
Message ID:
00867947
Vues:
50
I want the forecolor of a text field to be red if a certain condition is true. I tried putting it in the INIT of the text field but that did not work when I clicked on NEXT through the records. Tried putting my condition in the property sheet for forecolor, but can not remember the trick of how to get it entered.

iif(property.stop_cont,this.forecolor= RGB(255,0,0),this.forecolor= RGB(0,0,0))

any help is appreciated.

Thanks

Brenda
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform