GrahamDLovell
asked on
TStringGrid fixedRow highlight lost
When I turn off default drawing for a TStringGrid, I lose the fixed Row highlighting (on the first row in this case).
I needed to turn default drawing off as I want to use the TA_CENTER function on the headings, and TA_RIGHT on some of the columns. If I don't turn it off, the data appear twice in each column.
Can I set the background color in the DrawCell function; or is there some other way to solve this problem?
I needed to turn default drawing off as I want to use the TA_CENTER function on the headings, and TA_RIGHT on some of the columns. If I don't turn it off, the data appear twice in each column.
Can I set the background color in the DrawCell function; or is there some other way to solve this problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad i could be of assitance. Good luck.
ASKER
Thanks again. The TStringGrid provides great functionality, but it takes a bit of work, and I can see that there is a learning curve I haven't quite mastered yet.