Neil Toulouse
Programmer
Hi guys
Have been going round in circles with this problem, but am certain it must be an easy fix!
Basically I have a 'read-only' grid that has the rows coloured differently depending on certain criteria. So far, so good
All I am trying to accomplish is to have the 'frame' around the row shown on the on the selected record. I thought that Highlight = .F., HighlightRow = .T. and AllowCellSelection = .F. would be all I would need.
But it would appear that if you set AllowCellSelection = .F., the entire row is highlighted with a solid colour, which is no good as I need to be able to see the colour the row has been set to. AllowCellSelection = .T. gives me the outline I am after, but allows the use to click on a cell which is then highlighted with a different colour (I added RETURN .F. to the WHEN event of the text boxes to try and prevent this but that did not work).
What am I missing?? This is VFP8 if it matters!
thanks
Neil
I like work. It fascinates me. I can sit and look at it for hours...
Have been going round in circles with this problem, but am certain it must be an easy fix!
Basically I have a 'read-only' grid that has the rows coloured differently depending on certain criteria. So far, so good
All I am trying to accomplish is to have the 'frame' around the row shown on the on the selected record. I thought that Highlight = .F., HighlightRow = .T. and AllowCellSelection = .F. would be all I would need.
But it would appear that if you set AllowCellSelection = .F., the entire row is highlighted with a solid colour, which is no good as I need to be able to see the colour the row has been set to. AllowCellSelection = .T. gives me the outline I am after, but allows the use to click on a cell which is then highlighted with a different colour (I added RETURN .F. to the WHEN event of the text boxes to try and prevent this but that did not work).
What am I missing?? This is VFP8 if it matters!
thanks
Neil
I like work. It fascinates me. I can sit and look at it for hours...