Solved

StringGrid Title

Posted on 2004-10-06
6
731 Views
Last Modified: 2010-04-05
Dear experts,

Could any expert tell me how to set the column title of a stringgrid at the design stage?

Thanks!
0
Comment
Question by:ericting
[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
  • 3
  • 2
6 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 12235197
stringgrid1.cells[0,YourColumnIndex] := 'YourCaption';

meikl ;-)
0
 

Author Comment

by:ericting
ID: 12235517
Meikl,

Thank  you for your answer but I want to see the title during the design time so I can easily change the column width.

Is there any propertities of stringgrid to set the title, font, etc. just like the dbgrid.

Eric Ting,
0
 
LVL 11

Expert Comment

by:calinutz
ID: 12235602
I suggest that you use another stringgrid that allows this bevaviour. Such as
kStringGrid from http://www.korzh.com/download.
It is very easy to work with (a lot easyer than the standard stringGrid and allows coloring rows odd and even differently for a better look)
It behaves just like DBGrid with column titles
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:calinutz
ID: 12235618
Actualyy the download link is:
http://www.korzh.com/download/kstrgrid.zip
and you need the additional pack
http://www.korzh.com/download/kprocs.zip

Both installed and used do not increase your application size significantly.... only a few kilos.
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 12235629
>Is there any propertities of stringgrid to set the title, font, etc. just >like the dbgrid.

no, not on the standard tstringgrid, but you may find a free tstringgrid descandend at

http://www.torry.net/pages.php?id=114

which provides what you need

meikl ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 12235632
hum, sorry, saw not your comments before, calinutz
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi inherited method 6 80
how to update exe applicatio from internet ? 6 93
Dynamically Created Query 3 70
Typecasting TBytes to Integer in Delphi XE8 2 37
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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