Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Re: the Dynamically changing colors in a gris:
>
>Hey! I found another way and it works like a charm:
>
>In the AfterRowColChangeEvent of the grid I wrote this:
>
>IF THIS.VALUE="Free"
> THIS.column3.text1.BACKCOLOR=RGB(0,255,0)
> THIS.column3.text1.SELECTEDBACKCOLOR=RGB(0,255,0)
>
>ELSE
> THIS.column3.text1.BACKCOLOR=RGB(255,0,0)
> THIS.column3.text1.SELECTEDBACKCOLOR=RGB(255,0,0)
>ENDIF
>
>The SelectedBackColor line is so that it works even when you move from field to field with the arrow keys.
Cool. Does that change all the rows, too?
Précédent
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