Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TStringGrid and title

0 views
Skip to first unread message

David Bouffard

unread,
Sep 27, 2003, 3:05:59 PM9/27/03
to
hello
with delphi 5, I am using a TStringGrid in my app.
and I cannot find the way to assign titles to my columns and rows. What am I
missing?

your answer would be appreciated.

Kurt Barthelmess (TeamB)

unread,
Sep 27, 2003, 8:08:00 PM9/27/03
to
"David Bouffard" <davidb...@sympatico.ca> wrote:

>with delphi 5, I am using a TStringGrid in my app.
>and I cannot find the way to assign titles to my columns and rows. What am I
>missing?

Your grid by default has one fixed row and one fixed column. When you
set the Cells property for the cells in that row or that column, the
become the captions. Or did I misunderstand your question?

Good luck.

Kurt

Chris Luck

unread,
Sep 28, 2003, 8:30:50 AM9/28/03
to
"David Bouffard" <davidb...@sympatico.ca> wrote in message
news:3f75...@newsgroups.borland.com...

> hello
> with delphi 5, I am using a TStringGrid in my app.
> and I cannot find the way to assign titles to my columns and rows. What am I
> missing?

Following on from Kurt's reply, if you were expecting to find something like
the TDBGrid where you have a Column object and a Title property, then you are
in for a disappointment. The fixed rows/cols are addressed in the same way as
all the other cells in a StringGrid.


--
Regards,
Chris Luck.


0 new messages