?
Solved

How to disable this feature of TStringGrid?

Posted on 2003-10-25
5
Medium Priority
?
217 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:happy2000wf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9618935
property fixedCols -> 0
property fixedRows -> 0

meikl ;-)
0
 

Author Comment

by:happy2000wf
ID: 9618946
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
 
LVL 27

Accepted Solution

by:
kretzschmar earned 200 total points
ID: 9618956
? happens to me only at designtime, at runtime it is white with a focusrect
0
 

Author Comment

by:happy2000wf
ID: 9618970
it is a bug of TStringGrid of d7?
what's the matter?

ps . nice to meet you again and thanks for help
0
 

Expert Comment

by:AlanGLloyd
ID: 9620620
You set the selection outside the stringgrid ...

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

Alan Lloyd

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question