Xbasic

UI_GET_LIST3 Function

Syntax

Selected_List as C = ui_get_list3(C title ,C default_selection ,C choices )

Arguments

Selected_List

A CR-LF delimited list of user selections.

title

The title of the dialog box.

default_selection

The initial user selection.

choices

A CR-LF delimited list of choices

Description

Displays a listbox-checkbox. User can select multiple items. Items are returned in the same order in which they are selected.

Discussion

The UI_GET_LIST3() function displays a check box - list box that allows the user to make multiple selections.

images/UI_GET_LIST3.gif

Example 

dim choices as C
choices = <<%a%
one
two
three
four
five
%a%
? ui_get_list3("Select One or More Choices", "three", choices)
= three
four

Limitations

Desktop applications only.

See Also