TListBox - scrolling up and down instead of left and right

moonrise
moonrise used Ask the Experts™
on
I am using a TListBox to display images. I am trying to have 1 column with a vertical scrollbar to scroll up and down through the images. I use lbOwnerDrawFixed but as soon as it runs out of vertical space it starts a new column (eventhough the property Columns is set to 1).

How can I just get one column with a vertical scroll bar?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Set Columns to 0 instead.

Geoff M.

Author

Commented:
Works great, thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial