Autor Beitrag
Gwaineg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 55

WIN XP Prof
D7 Ent
BeitragVerfasst: Mi 31.08.05 12:27 
meine Frage ist wieder mal so einfach wenn man weiß wie's geht aber so schwer wenn man die Namen der Komponenten nicht weiß

ich will einfach wenn ich auf einen Button drücke, so eine Nachricht "Wollen sie das wirklich machen" und "ja" "Nein" als Auswahl
hab aber nichtmal die geringste Ahnung wie man so etwas überhaupt nennt
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 31.08.05 12:35 
Eine Möglichkeit:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
if MessageDlg('Wollen sie das wirklich tun?', mtConfirmation, [mbOK, mbCancel], 0) = mrOK then
  showmessage('Ok, ich tus')
else
  showmessage('Nö, mach ich nicht')

_________________
We are, we were and will not be.
Gwaineg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 55

WIN XP Prof
D7 Ent
BeitragVerfasst: Mi 31.08.05 12:39 
wie gesagt soooo einfach wenn man die Funktionen kennt
Thx, war genau das was ich gemeint habe