Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Aug : Horizontal scrollbar thumb height

www.cryer.info
Managed Newsgroup Archive

Horizontal scrollbar thumb height

Subject:Horizontal scrollbar thumb height
Posted by:"Brian Cryer" (bria..@127.0.0.1.activesol.co.uk)
Date:Tue, 9 Aug 2005 10:58:16

I'm sure someone has a simple solution, but I've not been able to find it
...

I'm using TStringGrid and because I have a large number of elements in it I
have a horizontal scrollbar. This isn't a separate scroll bar, I've just
turned on the one that TStringGrid provides. My question is, how do I make
the size of the thumb (that you can move up and down) proportional to the
number of visible elements. For example, if you open up internet explorer on
a page the horizontal scroll bar gives you an indication both of where you
are vertically on a page and also how much of the page you are viewing. All
I get with the scroll bar on the TStringGrid component is a fixed size
thumb, regardless of the number of elements in the grid.

What am I missing and what should I be doing? I'm using Delphi 6 if it makes
a difference..

Thanks in advance,

    Brian.

Replies:

www.cryer.info
Managed Newsgroup Archive