Solved

Image ListBox

Posted on 2009-07-08
2
1,740 Views
Last Modified: 2013-11-23
Hello. I am developing an application using Delphi 7 personal.

I need to add images to my listbox. They can either be an external image or an TImageList, or an external image, but I need to be able to control which image goes into what position of the list box.

Any one know how to do this?
0
Comment
Question by:HaloShg
2 Comments
 
LVL 21

Accepted Solution

by:
developmentguru earned 100 total points
ID: 24807888
Will your images be the same size (or at least the same height)?  This will make a difference in how you do it.  If the items will all be the same height then you can just do an Owner Draw list box.  Here is a good article that you can adapt to what you want to do.

http://delphi.about.com/od/vclusing/a/drawincombobox.htm
0
 
LVL 1

Author Closing Comment

by:HaloShg
ID: 31601267
Thank you. It works now :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

828 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