<<

Contents

Search

>>

 

GET_LISTBOX_SELECTED_ITEMS$

 

 

Function

 

 

Syntax:

GET_LISTBOX_SELECTED_ITEMS$(<Mask Field>,<Separator>[,<Handle>])

 

<Mask Field>

= <MASK FIELD>

<Separator>

= <STRING-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Returns the selected items of a listbox or combobox.

 

The first character of <Separator> is used as separator for the single entries. If <Separator> is the empty string "", the character ";" is used as separator.

 

<Mask Field> has to be a listbox or a combobox. Otherwise GET_LISTBOX_SELECTED_ITEMS$ returns "".

 

<Handle> specifies the window that contains the listbox or combobox. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the listbox or combobox must be on the current mask

 

Parameter:

Mask Field

Listbox or Combobox

Separator

Separator

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Sample:

SELECTED_ITEMS$ = GET_LISTBOX_SELECTED_ITEMS(#5.#LB$,"Accessory")

 

See also:

GET_LISTBOX_ITEMS$

ADD_LISTBOX

DEL_LISTBOX