Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicForeColor in a Grid ?
Message
From
26/04/1999 01:42:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
DynamicForeColor in a Grid ?
Miscellaneous
Thread ID:
00212084
Message ID:
00212084
Views:
42
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
Next
Reply
Map
View

Click here to load this message in the networking platform