Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the backcolor in a Grid
Message
From
09/01/2002 16:58:34
 
 
To
09/01/2002 13:35:08
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00602300
Message ID:
00602703
Views:
27
Hello Ravi.

I just tried this code but got the following VFP message:

"Expression is invalid. Use a valid expression for DYNAMICBACKCOLOR property"


As I said, it was untested < s >. This does work: put this expression into the DynamixBackColorProperty for each column you want to set:

IIF( 'BLOCK' $ < Alias.Field >, RGB( 255, 0, 0 ), RGB( 0, 0, 255 ) )

where you substiture the correct alias and field name in the expression above and remove the angle brackets.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform