Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box
Message
From
19/09/2000 04:17:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/09/2000 14:26:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00417654
Message ID:
00417973
Views:
17
>Cetin,
>
>I have set up a grid. I have a column with the priority listed as High,Medium,Low. When the grid is populated in the init event of the form how can I make the row of the grid different colors according to the priority?


*Grid.Init && Or could be set from anywhere anytime
this.setall('DynamicBackColor', ;
  [ iif(Priority='High',rgb(255,0,0), ]+;
  [ iif(Priority='Low', rgb(0,255,0), rgb(0,0,255) )) ], ;
  'Column')
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