Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Don't I need something in the "column" that states "this row# is" or something like that so I can compare it in the IIF to the ActiveRow to change the color?
Are you just trying to change the backcolor of the Current Row? I thought you wanted to change the color of every row to something different.
Then what you do is have a property which holds the recno(). In everyAfterRowColChange(), you update this property and refresh() the grid. And in the Init, something like:
this.SetAll('dynamicbackcolor', 'iif(this.nRecno = recno(), rgb(0,0,255), rgb(255,255,255))', 'column')
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