Display a pickbox with val1, val2, val3, ... listed on each line. The user can select one or more of these lines and return them. The values are returned separated by the current command separator ( ; ) and executed as commands. If the user presses Escape then no commands are executed.
The PICK command recognized two special arguments. An argument of the format p:string displays the specified string as the prompt for the dialog. An argument of o:1 specifies that only one selection is allowed to be chosen. Also, each value can start with an asterisk * to indicate that it is selected by default when the dialog is displayed.
To display captions for each item that are different from the command, use the syntax caption:command. The caption is displayed in the list, but the command is executed.
Same as the above example, except shorter captions are displayed in the list rather than the entire commands. Here you don't need the @Action variable since the titles for each action are specified and don't need to be expanded.
Add comment