Solved

How to disable this feature of TStringGrid?

Posted on 2003-10-25
5
211 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
  • 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 50 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installshield for Embarcadero EX 10.1 Berlin 4 72
MS Access from Delphi 31 78
DBCtrlGrid, Delphi, Scroll 8 56
firemonkey Android Listview Sort items 7 70
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 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