Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Colors for Rows of a Grid
Message
From
20/08/2007 10:12:57
 
 
To
18/08/2007 04:10:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01248918
Message ID:
01249119
Views:
30
>Hi all,
>
>I just want to set colors for the rows in my Grid on more than one condition.
>
>In the Init of Grid, I use:
>
>This.SetAll('dynamicbackcolor', 'iif(LEVELNO = 1, RGB(color1), RGB(color2) )' )
>
>This works fine when LEVELNO = 1 or Not. But I want to set diiferent colors when LEVELNO = 2 and LEVELNO = 3 etc.
>
>Please help me. Thanks a lot in advance.

Take a look at the ICase() function.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform