Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row Colours in a grid
Message
From
21/12/2001 10:13:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/12/2001 10:09:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00595172
Message ID:
00597290
Views:
23
Another alternative if levels are sequential is to use an array property. ie:

dimension thisform.aColors[5]
thisform.aColors[1]=rgb(Level0Color)
thisform.aColors[2]=rgb(Level1Color)
thisform.aColors[3]=rgb(...)
...

myGrid.SetAll('DynamicBackColor','thisform.aColors[myTable.Level+1]')

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