Solved

Image ListBox

Posted on 2009-07-08
2
1,730 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
Comment Utility
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
Comment Utility
Thank you. It works now :)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now