Autor Beitrag
mehmeh
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Di 23.08.05 14:11 
Hallo,

ich möchte in einer DirectoryListBox ein Order auswählen und dessen Pfad übergeben, zum weiterverarbeiten. Also das ganze Verzeichnis des Ordners letztendlich in einem EditFeld angeben.

Würd ich so machen

ausblenden Delphi-Quelltext
1:
Edit3.Text := DirectoryListBox1.GetItemPath();					


Allerdings weiß ich nicht was in die Klammer kommt! Irgendein integer, aber wie sag ich dem das er genau das Ausgewählten Item nehmen soll?

Bitte helft mir
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Di 23.08.05 14:14 
ausblenden Delphi-Quelltext
1:
Edit3.Text := DirectoryListBox1.GetItemPath(DirectoryListBox1.ItemIndex);					


;)
mehmeh Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Di 23.08.05 14:35 
genau - wie konnt ich das nur vergessen?

Danke :P
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Di 23.08.05 14:36 
user profile iconmehmeh hat folgendes geschrieben:
genau - wie konnt ich das nur vergessen?
Danke :P

Kein Problem. ;)

slt, WeBBy