General information
Category:
Forms & Form designer
Title:
Changing Grid text box colour
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only