Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, Does anyone know how I can sel 1

Status
Not open for further replies.

dmarnerou

Programmer
Jun 12, 2002
30
CY
Hi,
Does anyone know how I can select an image from a List Box and automaticaly in a field get the path of that image?

Source code will be much appreciated!

Thanks,
Demetra
 
How does the image get into the ListBox?

What do you mean by "path of the image"?

Cheers
 
I have a Directory List Box (TDirectoryListBox) and a File List Box (TFileListBox) and when I select a file from the File List box I want to get the path of the file eg.
"C:\My Documents\myfile.doc"
 
The
Code:
TDirectoryListBox.Directory
property is a string that has the path. You can also set it if you want to start at a particular directory.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top