Autor Beitrag
D. Annies
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: So 05.12.04 15:02 
Hi, Delpher,

vielleicht habe ich etwas übersehen, dann Scusi, else:
wie kann ich bei messagedlgpos alle 3 Zweige (ja, nein, abbrechen) mit
verschiedenen Reaktionen belegen? - Insbesondere soll bei Abbrechen nichts
gemacht werden.

Also etwas in der Art:

if messagedlgpos(..) = mryes then dateiname := 'eins'

und bei nein 'zwei' und ansonsten mache nichts ..

Danke für eure Hilfe, Detlef Annies
sourcehunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 482

Win XP | Suse 10.1
Delphi 2005 Pers.
BeitragVerfasst: So 05.12.04 15:30 
Probier das mal:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
ergebnis:=messagedlgpos(...);
case ergebnis of
.
.
.
end;

_________________
Linux und OpenSource rulez!
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: So 05.12.04 15:34 
Ja, du bist der sourcecoder!

Danke, Detlef :wave: