Autor Beitrag
lesumsi
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 54



BeitragVerfasst: So 15.10.06 17:42 
Guten Abend,

wie erstelle ich in Delphi ein klassischen Durchsuchen-Button, der ein Durchsuchen Fenster einmal zum Laden und einmal zum Speichern öffnet?
Die ausgwählte Datei soll dann in einem Editfeld angezeigt werden.
Vielen Dank

lesumsi
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: So 15.10.06 17:57 
Hallo,

meinst du TOpenDialog und TSaveDialog?

Gruß Hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
lesumsi Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 54



BeitragVerfasst: So 15.10.06 19:01 
danke, das hab ich gesucht!

lesumsi
lesumsi Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 54



BeitragVerfasst: So 15.10.06 19:12 
hab gerade mal ein bisschen rumprobiert und rumgestöbert, aber wie bekomm ich es hin, dass es sich der dialog auf knopfdruck öffnet und beim schließen die auswahl im edit anzeigt?
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 15.10.06 19:25 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
if opendialog1.execute then
 begin
edit1.text := opendialog1.filename;
end;


Demnächst Delphi-Hilfe verwenden :mahn:
;-)
lesumsi Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 54



BeitragVerfasst: So 15.10.06 19:29 
okay, danke ;)