MESSAGEBOX
Usage
TIBCO iProcess Workspace (Windows)
Displays a message dialog box.
Syntax
MESSAGEBOX (title, message, icon, buttons)
where:
| • | title is a text string specifying the message box title. |
| • | message is a text string specifying the message to show. |
| • | icon is one of the following numeric values: |
|
Value |
Icon |
|
0 |
no icon |
|
1 |
! |
|
2 |
I |
|
3 |
? |
|
4 |
Stop |
| • | buttons is one of the following numeric values, specifying the available buttons: |
|
Value |
Button(s) |
|
0 |
OK |
|
1 |
OK/Cancel |
|
2 |
Yes/No |
|
3 |
Yes/No/Cancel |
|
4 |
Retry/Cancel |
Returns
One of the following numeric values:
|
Value |
Description |
|
-1 |
Cancel chosen |
|
0 |
No chosen |
|
1 |
Yes, Retry or OK chosen |
Examples
TIBCO iProcess Modeler:
The following can be used to display a confirmation message:
MESSAGEBOX ("confirm", "Are you sure you want to exit", 3, 2)
TIBCO Business Studio:
IPEEnvironmentUtil.MESSAGEBOX("confirm","Are you sure you want to exit",3,2);