?
Solved

StringGrid Title

Posted on 2004-10-06
6
Medium Priority
?
740 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
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!

 
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 400 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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
Course of the Month14 days, 2 hours left to enroll

800 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