MessageBox |

Funktionsname | dcl_MessageBox
Syntax | `(dcl_MessageBox Message [as String] {Title [as String]} {ButtonStyle [as Integer]} {IconStyle [as Integer]} {ShowHelpButton [as Boolean]})`
Rückgabewert | Integer

This function displays a standard Windows message box with the message text specified in Message. The Title argument specifies the message box title, and the remaining arguments control the number and type of buttons, and the icon displayed beside the message. The default message box displays only an [OK] button with no icon. The return value indicates which button was pressed to close the message box.

Button Style | Description
--- | ---
1 | [Abort] [Retry] [Ignore] (Abort as default)
2 | [OK]
3 | [OK] [Cancel] (OK as default)
4 | [Abort] [Retry] (Abort as default)
5 | [Yes] [No] (Yes as default)
6 | [Yes] [No] [Cancel] (Yes as default)
11 | [Abort] [Retry] [Ignore] (Retry as default)
13 | [OK] [Cancel] (Cancel as default)
14 | [Retry] [Cancel] (Cancel as default)
15 | [Yes] [No] (No as default)
16 | [Yes] [No] [Cancel] (No as default)
21 | [Abort] [Retry] [Ignore] (Ignore as default)
26 | [Yes] [No] [Cancel] (Cancel as default)

Icon Style | Description
--- | ---
0 | No icon
1 | Warning icon
2 | Information icon
3 | Question icon
4 | Error icon

Return Value | Button
--- | ---
1 | [OK]
2 | [Cancel]
3 | [Abort]
4 | [Retry]
5 | [Ignore]
6 | [Yes]
7 | [No]