Autor Beitrag
Andi1982
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 497

WinXP HE
D6 Enterprise
BeitragVerfasst: Sa 30.08.03 14:30 
hallo,
in meinem Programm soll der User einen Ordner wählen können in dem seine dateien abgespeichert sind. Ich benutze dazu ein OpenDialog. Aber da muss der benutzer eine datei markieren und auf öffnen klicken. Ich mach dann einfach den dateinamen weg und hab den Pfad zum Ordner.

aber gibts sowas nicht dass man auch nur den Ordner wählen kann??

Gruß Andi

_________________
Solange die Bombe tickt ist alles in Ordnung, erst wenn sie damit aufhört wird es problematisch...
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: Sa 30.08.03 14:36 
Hi,
Andi1982 hat folgendes geschrieben:
aber gibts sowas nicht dass man auch nur den Ordner wählen kann??

Klar: SelectDirectory(), Unit FileCtrl...

MfG,
FeG
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 30.08.03 15:54 
Taurin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 34

Win XP
D6 Personal
BeitragVerfasst: So 31.08.03 01:25 
Schick mir mal ne mail an alexander.graefe@web.de .
Ein Freund von mir hat mal nen passenden Dlg programmiert,
kann dir den Code schicken. Der benutzt dabei auch
SHBROWSEFORFOLDER :)
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 31.08.03 05:51 
Wozu braucht man dazu bitte sehr einen extra Dialog? Delphi stellt ihn mit SelectDirectory aus der Unit FilerCtrl bereits bereit und wer auf den Overhead verzichten will der nutzt die API SHBrowseFor Folder.
Taurin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 34

Win XP
D6 Personal
BeitragVerfasst: So 31.08.03 14:09 
Weil der viel besser ins Layout des Restprogramms passte :)
Andi1982 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 497

WinXP HE
D6 Enterprise
BeitragVerfasst: So 31.08.03 14:52 
Danke für eure Hilfe, werde das von Luckie mal probieren. Falls ich damit Probleme hab werdet ihr von mir hören :wink:

_________________
Solange die Bombe tickt ist alles in Ordnung, erst wenn sie damit aufhört wird es problematisch...
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 01.09.03 15:26 
Ein Blick in die FAQ hätte auch gereicht :-) ...einen Verzeichnisauswahl-Dialog anzeigen?

Gruß
Tino