integer
messageDlg(
integer
dlgType
,
string
msg
);
Zeigt einen Nachrichtendialog mit verschiedenen Buttons und Icons an. Die Id des angeklickten Buttons wird zurückgegeben. Die Aufschriften der Buttons werden in die Sprache der Programmoberfläche übersetzt.
| Dialog-Identifier | Buttons | Icon |
|---|---|---|
| 0 | OK | |
| 1 | OK, Cancel | |
| 3 | Yes, No, Cancel | |
| 4 | Yes, No | |
| 5 | Cancel, Retry | |
| 16 | OK | Error |
| 17 | OK, Cancel | Error |
| 32 | OK | Question |
| 33 | OK, Cancel | Question |
| 48 | OK | Warning |
| 49 | OK, Cancel | Warning |
| 64 | OK | Information |
| 65 | OK, Cancel | Information |
Tabelle 9.1. Dialogtypen von application.messageDlg
| Rückgabe | Button Id |
|---|---|
| 1 | OK |
| 2 | Cancel |
| 4 | Retry |
| 6 | Yes |
| 7 | No |
Tabelle 9.2. Rückgaben von application.messageDlg