Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Backcolor of single grid textboxes
Versions des environnements
Hello Everybody !
at init of my form i do
thisform.grid1.recordsource = " " &&keeping my column definitions
select xxx,yyy,amount,zzz... from ... into cursor xyz && sql passthrough to maxdb database with odbc
thisform.grid1.recordsource = xyz
Now i want to change the backcolor of some textboxes in column3 depending on the content.
Example:
amount < 100 = red
amount >99 and < 1001 = white
amount > 1000 = green
I know how to change the backcolor of the rows (setall dynamicbackcolor ...)
I don't know how to change the backcolor of single cells.
Any help welcomed.
Best regards
Albert
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