GetListItems

Definition:

GetListItems(control)

 

Description:

Obtain current contents of a Combo Box, List Box or ListView Control.

 

Platforms:

All

 

Parameters:

control - required

Name of the control.

 

Returns:

For both types of Combo Box and for List Boxes, this Method returns a comma separated list of the predefined items making up the list.

For a ListView, this Method returns a comma separated list of the values from the first control on each row.
(Note that when viewing a Template in the Forms Pane tree within App Studio, by default the Panel defining the boundaries of the row appears as the first control listed. This control is ignored by GetListItems when determining the first control in the row.)

 

Notes:

If you have used input Data Conversion to modify the value displayed in a control, the values returned here will be the converted values displayed in the control and not the original input values.