• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

TListBox - scrolling up and down instead of left and right

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?

0
moonrise
Asked:
moonrise
1 Solution
 
gmayoCommented:
Set Columns to 0 instead.

Geoff M.
0
 
moonriseAuthor Commented:
Works great, thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now