Board index » delphi » Scroll Bar in TListBox and TCheckListBox.

Scroll Bar in TListBox and TCheckListBox.

Hi all,
    Sorry for posting this problem again.
    If any one know how to have both (horizontal and verticle) scroll bar in
TListBox and TCheckListBox.
    Thanks.

--

Regards,
SHOO.

 

Re:Scroll Bar in TListBox and TCheckListBox.


The TTreeView component has a horizontal scroll bar. If you set ReadOnly :=
True and
ShowRoot := False you get something that looks like a list box.

Bill

Quote
Shoo wrote in message <7k52vt$j...@forums.borland.com>...
>Hi all,
>    Sorry for posting this problem again.
>    If any one know how to have both (horizontal and verticle) scroll bar
in
>TListBox and TCheckListBox.
>    Thanks.

>--

>Regards,
>SHOO.

Re:Scroll Bar in TListBox and TCheckListBox.


Quote
In article <7k52vt$j...@forums.borland.com>, Shoo wrote:
> Sorry for posting this problem again.
>     If any one know how to have both (horizontal and verticle) scroll bar in
> TListBox and TCheckListBox.

You are too impatient. I answered your other post: send a
LB_SETHORIZONTALEXTENT message to the listbox to tell it how wide the longest
item is. The other answer has an example.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!

Other Threads