Autor Beitrag
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 26.07.07 17:13 
Hallo,

in einem ListView werden dateien und Ordner des aktuellen Verzeichnisses angezeigt, und wenn man auf die Ordner dopelklickt, werden diese geöffnet, nur der ".."-Ordner funktioniert nicht... wie kann ich in das übergeordnete Verzeichnis wechseln?
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Do 26.07.07 17:50 
Hallo,

hatten wir doch eben noch in einem anderen Topic, ExtractFilePath kann auch mit Verzeichnissen umgehen :wink:
ausblenden Delphi-Quelltext
1:
s := ExtractFilePath('C:\Temp\U-Ordner');//= 'C:\Temp\'					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 26.07.07 17:51 
ui... danke :D :D