Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicForeColor in a Grid ?
Message
De
26/04/1999 01:42:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
DynamicForeColor in a Grid ?
Divers
Thread ID:
00212084
Message ID:
00212084
Vues:
43
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
Fil
Voir

Click here to load this message in the networking platform