hide focus border - dotted line

I decided to use tadvstringgrid to present a grid of buttons for the user.


My problem is that there is always one cell that is focused and displays a dotted border line around the edge of the cell.

I can set CanSelect to false on OnSelectCell to stop it changing but I would prefer it just didn't draw the border.

I have looked and tried a heap of things but I cannot seem to hide the dotted border,

Has anyone had this issue and found a solution or knows of a solution I would love to be enlightened.
:)

thanks in advance

Ralph

Please set grid.HideFocusRect = true

Too easy


Thanks for quick response - it is now exactly how I want it