Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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