Link to home
Start Free TrialLog in
Avatar of jpoz
jpoz

asked on

Give focus to a fixed cell in TStringGrid

I have a StringGrid which shows a popup menu when a cell in a fixed column is selected (right-clicked).  I want the selected cell to show it has focus somehow.  I've tried doing a FocusRect on the cell, changing the text in the cell to bold, and changing the color of the cell - none of which seem to work.  I've also tried turning defaultdrawing off and drawing the fixed cells myself, and then giving the selected fixed cell focus, but that also didn't work.  How can I show that the fixed cell has focus when selected?
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jpoz
jpoz

ASKER

I had to tweak it a little to work for my app, but it worked, thanks!