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

Stringgrid - hide a row

410 views
Skip to first unread message

tom

unread,
Oct 5, 2000, 3:00:00 AM10/5/00
to
I want to hide some rows in a StringGrid.
When I set some stringgrid1.RowHeights[x] := 0,
the gridlines of the hidden rows "accumulate" to a "colored block".

Any ideas how to accomplish it ?

tom


Thomas

unread,
Oct 6, 2000, 3:00:00 AM10/6/00
to
My question again : How to correctly hide a row (some rows) in a Stringgrid
(temporary) ?

tom <tst...@gmx.net> wrote in message
news:8riub9$3g...@bornews.borland.com...

MrBaseball34

unread,
Oct 6, 2000, 3:00:00 AM10/6/00
to
TAdvColumnGrid by TMSSoftware has this feature...
$60US
http://www.tmssoftware.com

If I were you, I'd buy the entire TMSPack. Lots of great
components...

tom

unread,
Oct 6, 2000, 3:00:00 AM10/6/00
to
Actually, I don't want to buy an entire pack.
I just want to know how to hide (really hide !) some rows in a stringgrid.

tom

MrBaseball34 <mrbase...@hotmail.com> schrieb in im Newsbeitrag:
8rkmoo$ju...@bornews.borland.com...

MrBaseball34

unread,
Oct 6, 2000, 3:00:00 AM10/6/00
to
The way they do it is to have a TCollection that holds the rows/columns
hidden and then removes them from the stringgrid when you hide them.

Then when you unhide them, they add them back to the stringgrid and
remove them from the collection.
tom <tst...@gmx.net> wrote in message news:8rkqim$op...@bornews.borland.com...

tom

unread,
Oct 6, 2000, 3:00:00 AM10/6/00
to
Thanks a lot for your reply.
Thanks also for the http://www.tmssoftware.com link.
The TAdvColumnGrid is really great !

tom

MrBaseball34 <mrbase...@hotmail.com> schrieb in im Newsbeitrag:

8rku60$op...@bornews.borland.com...

0 new messages