Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Grid text box colour
Message
From
17/02/2007 13:09:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Changing Grid text box colour
Miscellaneous
Thread ID:
01196832
Message ID:
01196832
Views:
47
I have a grid which displays orders (5 columns of information). I want to set up the grid so that when the user clicks on any row, the text box in the leftmost column of THAT row is immediately highlighted in a different colour - say RGB(0,255,0).

I have tried setting the backcolor property of the appropriate textbox (mygrid.col1.text1.backcolor) to RGB(0,255,0) in the AfterRowCol change event and issuing a refresh on the textbox. But it only shows up as RGB(0,255,0) when the user clicks on the cell.

Is it possible to get the cell to show the appropriate colour without clicking on it?

Thanks for any advice
Barry
Next
Reply
Map
View

Click here to load this message in the networking platform