Autor Beitrag
JJ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Windows XP 64 bit!
delphi 5
BeitragVerfasst: Sa 29.11.03 04:01 
filelistbox1.filename soll die makierte datei sein!
filelistbox1.filename:=filelistbox1.selected[???Was kommt hier rein???];
filelistbox1.filename soll einfach nur die makierte datei sein ...

_________________
Hallo!
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Sa 29.11.03 04:24 
Mit FileListBox.Selected[ i ] bekommst du nur heraus, ob der Eintrag mit dem Index i markiert ist.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.FileListBox1Change(Sender: TObject);
begin
If FileListBox1.ItemIndex >= 0 then
  Showmessage(FileListBox1.Items[FileListBox1.ItemIndex]);
end;

_________________
If accidentally read, induce vomitting.