Autor Beitrag
Ryazor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: So 09.03.03 18:48 
Hallöchen!
Kann mir einer sagen, wie der Rückgabewert lautet, wenn ich den Öffnendialog abbreche?
Ich stell mir das etwa so vor:

ausblenden Quelltext
1:
2:
3:
4:
5:
if open.filename <> '' then
// Das und das...
end else if [open.wasweißich] = [Bei Abbruch] then
ShowMessage('Die haben Abbruch bzw. Schließen angeklickt!');
end;


Hoffe, war verständlich genug :D[/code]
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: So 09.03.03 18:50 
so:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
 if OpenDialog1.Execute then
 begin
   ShowMessage('Sie haben OK angeklickt!');
 end else
 begin
   ShowMessage('Sie haben Abbruch bzw. Schließen angeklickt!');
 end;
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 09.03.03 18:51 
Mach doch einfach:
ausblenden Quelltext
1:
if OpenDialog1.Execute then					

else wäre dann der Abgebruch.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 09.03.03 18:51 
Schon wieder zu langsam.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
Ryazor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: So 09.03.03 20:31 
VIELEN DANK!!
War ja viel einfacher als angenommen :D :lol: