Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Brenda.
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.
You did not say whether or not your text box is in a grid. If it is in a grid, you can, as Dragan suggests, use the DynamicForeColor property of the column.
If this is a text box on the form, I would put the condition in the Refresh() of the text box.
Précédent
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