Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
DynamicForeColor in a Grid ?
G'day All
I use the following bit of code in the INIT of a grid to alter the dynamicForeColor for a specific condition. (checked against a field value for the current record).
LOCAL nCntr
FOR nCntr = 1 TO This.ColumnCount
This.Columns(nCntr).DynamicForeColor = "IIF( = .F.,RGB(0,0,0),RGB(255,0,0))"
ENDFOR
It's used just to highlight records that need some sort of user supplied default data.
I have a report working of the same table used to populate the grid and, would like the font color of the report detail lines to reflect the same. Any ideas ?
TIA
Brendan
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