Autor Beitrag
stratege15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58



BeitragVerfasst: Fr 05.03.04 18:55 
wie bekommt man den vollen pfad eines bestimmten ordners (items.strings[bestimmerordner]) in einer tdirectorylistbox heraus?
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Fr 05.03.04 19:18 
ausblenden Delphi-Quelltext
1:
IncludeTrailingBackslash(DirectoryListBox1.Path) + DirectoryListBox1.Items[Index];					


In etwa so sollte es gehen.

mfG
mirage228

_________________
May the source be with you, stranger.
stratege15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58



BeitragVerfasst: Fr 05.03.04 19:33 
ne .. das ist ja nur in bezug auf den derzeitigen pfad.. aber tdirectorylistbox zeigt ja auch andere ordner an..z.b.:

C:\
-Eigene Dateien
-blabla
-Programme
--DasAdventure // <- wie bekomm ich dann z.b. den pfad dieses ordners heraus
--MeinSpiel
---dateien // der derzeitige ordner/pfad