Ask for User Decision from Strings

Prompts the user to make a selection from up to three buttons. The text on the button becomes the string return argu- ment for the command.

 

Input Arguments

 

0

Edit Text

Question or Statement

The prompt to display to the user.

1

Font Type

Font

The font to use for the prompt and button text.

2

String

Button1 Text (Empty to hide button)

The text for the first button.

3

String

Button2 Text (Empty to hide

button)

The text for the second button.

4

String

Button3 Text (Empty to hide button)

The text for the third button.

5

Step ID

Step to jump to if Canceled (-1

will fail step on Cancel)

The step to jump to if the user cancels or closes

the dialog.

 

Return Arguments

 

6

String

Answer

The text from the selected button.

 

Returned Status

 

SUCCESS

The user made a selection.

FAILURE

The user clicked the Cancel or Close buttons and argument 5 was -1.

 

Remarks

None.