Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the background Color of a cell in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00833872
Message ID:
00836839
Views:
17
Sorry that I have taken so long to respond.

The code that I am using in the dynamicbackcolor property is
IIF(ThisForm.grdPersonnel_c.ColActive.ChkActive.Value,RGB(0,255,0) , RGB(255,0,0) )

Bob

>Not clear how it happend if you apply dynamicbackcolor to particular column only. Could you post the exact code line where you set dynamicbackcolor?
>
>>How do you dynamically change the back color of a CELL in a grid.
>>
>>I have a combo box in a different cell of the grid that, depending on the contents of the combo box, enables or disables access to other cells in that row.
>>
>>The txtbox.enable = .f. is working correctly for the cells that I want to limit access to but the user has no visual refrence that they cannot enter the cell. I would like to turn individal cells background colors gray (if disabled) or white (if enabled) When I try this in the dynamicbackcolor of the column it applies the change to the whole row and not the individual effected cell.
>>
>>Any help or ideas would be appriciated.
>>
>>Bob Kennedy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform