Solved

Image ListBox

Posted on 2009-07-08
2
1,747 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
[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 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: 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…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

623 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