Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want forecolor red for certain condition
Message
De
18/01/2004 16:21:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00867947
Message ID:
00867959
Vues:
14
This message has been marked as the solution to the initial question of the thread.
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
Fil
Voir

Click here to load this message in the networking platform