Xbasic
UI_SELECT_SCRIPT Function
Syntax
Script_Name as C = ui_select_script([C script_list [,C title [,N rows [,N columns [,N mode ]]]]])
Arguments
- Script_Name
The name of the selected script.
- script_list
Optional. Default = All scripts. A CR-LF delimited list of scripts.
- title
Optional. The title of the dialog box.
- rows
Optional. The number of rows visible in the list box.
- columns
Optional. The width of the list box in characters.
- mode
Optional. Numeric
- 1 = SCRIPT_PLAY_LOCAL()
- 2 = SCRIPT_PLAY()
- 3 = SCRIPT_SPAWN()
Description
Displays a picklist of scripts in dialog or toolbar format. Selected script is executed. Mode: 1= script_play_local(), 2=script_play(), 3= script_spwan()
Discussion
The UI_SELECT_SCRIPT() function displays the Pick the script to play dialog box. The selected script is executed.
Example
? ui_select_script() = "customer_report"
Limitations
Desktop applications only.
See Also