Solved

StringGrid Title

Posted on 2004-10-06
6
736 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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

687 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