Solved

Image ListBox

Posted on 2009-07-08
2
1,744 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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

739 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