Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Want forecolor red for certain condition
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement