Solved

TListBox - scrolling up and down instead of left and right

Posted on 2003-10-26
2
179 Views
Last Modified: 2010-04-05
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
Comment
Question by:moonrise
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
gmayo earned 125 total points
ID: 9622903
Set Columns to 0 instead.

Geoff M.
0
 

Author Comment

by:moonrise
ID: 9623054
Works great, thank you
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question