Xbasic

UI_SELECT_SCRIPT_POPUP Function

Syntax

Menu_Selection as C = ui_select_script_popup(C script_names [,C menu_style ])

Arguments

Menu_Selection

The selected menu entry.

script_names

One or more scripts in a CR-LF delimited list.

menu_style

Not used.

Description

The UI_SELECT_SCRIPT_POPUP() function displays one or more script names as menu selections in a pop-up list. If the user selects a script from the pop-up menu, the script is executed.

images/UI_SELECT_SCRIPT_POPUP.gif

Example 

dim menu as C
menu = <<%str%
alpha
beta
gamma
delta
%str%
? ui_select_script_popup(menu)
= "gamma"

Limitations

Desktop applications only.

See Also