How to disable this feature of TStringGrid?

When I use a TStringGrid object, the Cells[0,0] is always drawn with High Light background.
but I don't like it.

How to disable it?

thanks
happy2000wfAsked:
Who is Participating?
 
kretzschmarCommented:
? happens to me only at designtime, at runtime it is white with a focusrect
0
 
kretzschmarCommented:
property fixedCols -> 0
property fixedRows -> 0

meikl ;-)
0
 
happy2000wfAuthor Commented:
I have set fixedCols and fixedRows to 0

the problems is that the blank is first shown in selected mode, if I click it, everything will be ok

I want it first shown with white blanks
0
 
happy2000wfAuthor Commented:
it is a bug of TStringGrid of d7?
what's the matter?

ps . nice to meet you again and thanks for help
0
 
AlanGLloydCommented:
You set the selection outside the stringgrid ...

  StringGrid1.Selection := TGridRect(Rect(-1,-1,-1,-1));

Alan Lloyd

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.