Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cells in a Grid
Message
From
11/10/1997 15:16:19
Randy Johnson
Canadian Broadcasting Corporation
Winnipeg, Manitoba, Canada
 
 
To
11/10/1997 00:04:11
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00054143
Message ID:
00054185
Views:
38
Those properties work fine for the cell that has focus, but does not seem to work
for the entire grid. This is what I am Trying to do ... The grid is read only and has
a fixed x and y count.

COL1 COL2 COL3 ...
cell1 red wht wht
cell2 red wht red
cell3 red wht red
cell4 wht wht wht
cell5 wht wht wht
...

The Background color has to be set based on whether the cell is empty or not ..

Randy
>Use DynamicBackColor and DynamicForeColor properties. There's also a good example in the help on how to use them.
>
>Vlad
>
>>Does anyone know how to control forground and background colors on a range
>>of cells in individual columns of a grid at display time ?? The SetAll method kind of
>>works but it seems to apply to all columns in the grid. (ie. I want to be able to
>>change the color of a cell if it is not empty at display time)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform