rooholah
04-19-2006, 04:39 PM
Hi...
I create a listbox that search a folder for *.jpg.I want to open picture in my project when i chose one from list box.
--This is my codes
LB = "ListBox1";
tSelected = ListBox.GetSelected(LB);
if tSelected then
sFolderToOpen = ListBox.GetItemData(LB, tSelected[1]);
tFiles = File.Find(sFolderToOpen, "1.JPG", false, false, nil);
-- I dont khnow what i must put in ?
Image.Load("Image1", ? );
Please help me
I create a listbox that search a folder for *.jpg.I want to open picture in my project when i chose one from list box.
--This is my codes
LB = "ListBox1";
tSelected = ListBox.GetSelected(LB);
if tSelected then
sFolderToOpen = ListBox.GetItemData(LB, tSelected[1]);
tFiles = File.Find(sFolderToOpen, "1.JPG", false, false, nil);
-- I dont khnow what i must put in ?
Image.Load("Image1", ? );
Please help me