Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectedBackColor in a Grid
Message
 
 
To
30/01/2005 16:12:16
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00982042
Message ID:
00982145
Views:
23
>Now that I have reread my original question, I realize that I should have been more clear.
>
>Suppose that I want the field in Column 1 to be
>forecolor rgb(255,225,0) and backcolor rgb(255,0,0) when selected
>and then become
>forecolor rgb(0,0,0) and backcolor rgb(255,255,255) when not selected.
>
>And I want the same thing for columns 2,3 and 4.
>
>Is there a way of writing "SetAll" code in the Init to make this happen or does the code have to be written line by line for each column?
>
>I think the solution you have given me has to do with the selected row back colour. Or maybe I have not applied it properly.


Hi Mike,

Yes it's for a row highlite. For a cell check SelectedItemBackColor and SelectedItemForeColor properties of a grid.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform