Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid's Dynamic Color : HOWTO change dynamicbackcolor
Message
From
14/10/1999 00:36:40
 
 
To
13/10/1999 23:52:20
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00276183
Message ID:
00276195
Views:
70
Hi Aaron.

>> There should be several entries in each day. And I want to display the entries in a single backcolor, and next day, another color. <<

To display Today's entries with a cyan backcolor, but this code in the init of your grid:

THIS.SetAll("DynamicForeColor", ;
"IIF(MyAlias.DateField = DATE(),rgb(0,0,128),rgb(0,0,0))", ;
"COLUMN")
THIS.SetAll("DynamicBackColor", ;
"IIF(MyAlias.DateField = DATE(),rgb(0,255,255),rgb(192,192,192))", ;
"COLUMN")

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform