Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
23/01/2002 10:40:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/01/2002 09:27:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00608937
Message ID:
00609020
Views:
15
>Hi,All!
>J have a Grid with many column and J want to define differents colors
>dependent on some parameter:
>
>Thisform.Grid.SetAll("DynamicBackColor", ;
>"IIF( parameter= 0, ;
> RGB(255,255,255) , RGB(0,255,0) )").
>
>But besides that J want to leave to some column old its color(...Column1.BackColor)
>
>May J do that?
>Thanks!

To set all but one first setall then unset one. ie:

Thisform.Grid.SetAll("DynamicBackColor", ;
"IIF( parameter= 0, ;
RGB(255,255,255) , RGB(0,255,0) )")
Thisform.Grid.Column1.DynamicBackColor =""

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform