Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Di 02.08.05 06:33 
Wie kann ich auswerten ob jemand beim speicherdialog auf speichern oder abbrechen gedrückt hat. die funktion savedialog.execute gibt immer true zurück.
Logikmensch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 390

Win XP
Delphi 2007 Prof., XE2, XE5
BeitragVerfasst: Di 02.08.05 07:42 
Titel: SaveDialog.Execute
Hallo!

Ein Auszug aus dem Delphi-Hilfetext:
Zitat:
Execute opens the Save As dialog, returning true when the user selects a file name and clicks Save. If the user cancels the save operation, Execute returns a false value.


Ich arbeite oft mit SaveDialog.Execute, aber es arbeitet so, wie Du es erwartest. Kannst Du etwas mehr von Deinem Code zeigen, vielleicht steckt der Fehler ja woanders?

Liebe Grüße,

Claus.
Wommel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 02.08.05 07:46 
Ich erledige sowas so!


ausblenden Delphi-Quelltext
1:
  if SaveDialog1.Execute then					



Das funzt gut