Description |
Displays a message box using the options you specify. Although user input is not normally required in EFT Server Event Rules, a message box is useful for debugging purposes. Message boxes are used to provide informative feedback to the user, or, alternatively, to ask the user a question which requires a "yes, no" or "ok, cancel" type of answer. You can specify that a button is automatically "clicked" after a specified timeout, or you can disable the step that requires user input after you have completed debugging. |
Declaration |
<AMMESSAGEBOX WINDOWTITLE="text" BUTTONS="text [options]" POSITION="text [options]" XPOS="number" YPOS="number" DEFAULTBUTTON=number ONFIRSTBUTTONCLICK="text [options]" ONFIRSTBUTTONCLICKTASK="text" ONSECONDBUTTONCLICK="text [options]" ONSECONDBUTTONCLICKTASK="text" ONTHIRDBUTTONCLICK="text [options]" ONTHIRDBUTTONCLICKTASK="text" ICON="text [option]" WINDOWINFRONT="yes/no" RESULTVARIABLE="text" MODAL="yes/no" COUNTDOWNDELAY="number">text</AMMESSAGEBOX> |
Example |
<AMMESSAGEBOX WINDOWTITLE="Question" ICON="question" COUNTDOWNDELAY="10">Would you like to continue?</AMMESSAGEBOX> |
General Tab Parameters
|
Message to display: Specifies the text to be displayed in the message box. Text, required Title of the message box: Specifies the title of the message box dialog. Text, optional Default (blank) |
Buttons Tab Parameters |
Buttons: Specifies the default button or array of buttons that should be displayed on the message box.
Text [options], Optional - Default "ok"
The boxes displayed on this tab depend on the selection in the Buttons box.
On (first button click): Specifies the action that should take place when the first (from left to right) button is clicked.
text [options], Optional - Default "continue" Task (Workflow) to start: Specifies the Workflow that should be run when the button is clicked. Valid only if ONFIRSTBUTTONCLICK="start_Workflow". text, Optional - Default (none) On (second button click): Specifies the action that should take place when the second (from left to right) button is clicked.
text [options], Optional - Default "continue" Task (Workflow) to start: (On second button click) Specifies the Workflow that should be run when the button is clicked. Valid only if ONSECONDBUTTONCLICK="start_TASK". text, Optional - Default (none) On (third button click): Specifies the action that should take place when the third (from left to right) button is clicked.
text [options], Optional - Default "continue" Task (Workflow) to start: (On third button click) Specifies the Workflow that should be run when the button is clicked. Valid only if ONTHIRDBUTTONCLICK="start_TASK". text, Optional - Default (none) |
Advanced Tab Parameters
|
Position: Specifies the button or array of buttons that should be displayed on the message box.
Text [options], Optional - Default "center" Populate variable with return code: Specifies the name of an already created variable that should be populated with the number of the button (from left to right) that has been clicked. This option is valid only if MODAL=yes. text, Optional - Default (none) Execution of the task will stop until a button is clicked: Specifies whether the dialog should be displayed "modal" (the message box must be cleared before the Workflow moves on) or "modeless" the Workflow moves on immediately. yes/no, Optional - YES Display this Icon: Specifies the icon that should be displayed on the message box next to the icon. The icon helps to determine what type of message is being displayed.
text [options], Optional - Default "none" Automatically press the default button after: Specifies the seconds that should elapse before the message box clears itself. If the value is 0, the message box is displayed indefinitely. number, Optional - Default 0 X Pos: Specifies the X (horizontal) coordinates of the position that the message box dialog should be displayed on the screen. This option is only valid if POSITION="custom", otherwise it is ignored. Number, Optional - Default 0 Y Pos: Specifies the Y (vertical) coordinates of the position that the message box dialog should be displayed on the screen. This option is only valid if POSITION="custom", otherwise it is ignored. Number, Optional - Default 0 |
See Also |