Autor Beitrag
ebs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Sa 31.03.07 13:20 
Hallo!
Ich habe ein Problem mit dem Savedialog. Ich möchte den eigentlich nur dazu verwenden einen Pfad auszuwählen, dennoch möchte ich den Savedialog verwenden. Gibt es eine Möglichkeit die Eingabe des Filenames zu verhindern? Unter den Options habe ich nichts gefunden. :(
Danke im vorraus!
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 31.03.07 13:23 
Schau mal bei Torry da gibts den FolderDialog, im Forum findest Du auch Code zum selbst erstellen des selbigem.

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
ebs Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Sa 31.03.07 13:46 
Ich will das Ding aber genau im Style des TSaveDialog. Außerdem will ich auf weitere externe Komponenten verzichten.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 31.03.07 13:59 
SelectDirectory aufrufen und FileCtrl unser uses einfügen.
Hat nicht den Style, ist aber auch keine Fremdkomponente.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 31.03.07 14:00 
Nur zu faul zum Suchen, oder gehts ums Prinzip. :wink:
www.delphi-library.d...iewtopic.php?t=11240

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Sa 31.03.07 14:05 
user profile iconebs hat folgendes geschrieben:
Ich will das Ding aber genau im Style des TSaveDialog.

Der Save Dialog ist aber nicht dafür ausgelegt ein Verzeichnis auszuwählen. Also nimm bitte, allein um auf Deine Anwender Rücksicht zu nehmen, den Folder Dialog. ;-)

In der Delphi-Library findest Du einen Beitrag: ...einen Verzeichnisauswahl-Dialog anzeigen?

Gruß
Tino
ebs Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Sa 31.03.07 14:44 
Ich kann aber keinen Folder-Dialog anzeigen, da es sonst in meinem Programm nicht einheitlich wäre. Teilweise kann man den Namen ändern, teilweise aber auch nicht, und damit es nicht zu Verwirrungen kommt, kann ich keinen Folder-Dialog verwenden.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 31.03.07 15:03 
Andersrum wird ein Schuh draus. Du hast Dateiöffnen- und Dateispeicherndialoge, die auch so benutzt werden. Woher soll der Benutzer aufeinmal wissen, dass der Dialog, der ihm zum Speichern angezeigt wurde aufeinmal dazu dient nur ein Verzeichnis auszuwählen? Das wird ihn verwirren.
ebs Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Sa 31.03.07 18:19 
Ich glaube wir reden ein bisschen aneinander vorbei. Natürlich wird eine Datei gespeichert, allerdings ist der name fest, und dieser soll "enabled" in dem Save-Dialog angezeigt werden.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 31.03.07 19:28 
Und genau dafür ist ein Dateispeicherndialog nicht gemacht, sondern ein Verzeichnisauswahldialog.