This function shows a simple message box with either an OK button or Yes / No buttons.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
ShowMessageBox | Screen | Asynchronous | Supported | Supported | Not supported |
Value | Description |
---|---|
0 | OK button |
4 | Yes / No buttons |
This is an optional parameter. If no value is specified, then the default is 0.
This is an optional parameter. If no value is specified, then no title will be displayed.
Value | Description |
---|---|
1 | Operator clicked OK. |
6 | Operator clicked Yes. |
7 | Operator clicked No. |
ShowMessageBox( "The action could not be completed." )
ShowMessageBox( "The action could not be completed.", 0+48, "Alert" )
ShowMessageBox( "Continue with action?", 4 )