Autor Beitrag
Knedcox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 79



BeitragVerfasst: Sa 20.08.05 11:17 
Hab in mein Programm eine Messagebox eingebaut mit den zwei Schaltflächen "OK" und "Abbrechen" (MB_OKCANCEL). Jetzt weiß ich aber nicht mehr, was man schreiben muss, wenn etwas nur dann gemacht werden soll, wenn auf OK gedrückt wird.

Ich hab geschrieben "if IDOK then...", aber scheinbar ist das falsch. Kann mir jemand sagen, wie der richtige Befehl lautet? Merci schon mal.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 20.08.05 11:22 
ausblenden Delphi-Quelltext
1:
if Messagebox(...) = IDOK then					
Knedcox Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 79



BeitragVerfasst: Sa 20.08.05 11:30 
Merci für die schnelle Hilfe. Hat geklappt.