// Values selected in a multi-selection List Box control
i is int = 1
iSelectedRow is int
iSelectedRow = ListSelect(LIST_Cedex, 1)
WHILE iSelectedRow <> -1
Trace(LIST_Cedex[iSelectedRow]..StoredValue)
i++
iSelectedRow = ListSelect(LIST_Cedex, i)
END
// Find out the stored value when selecting the 3rd element of the List Box control
Info("The stored value is " + LIST_Cedex[3]..StoredValue)
Versions 24 and later
New in version 24 Syntax
Finding out the stored value of a List Box, ListView or Combo Box control Hide the details
<Stored value> = <Control name>[<Element subscript>]..StoredValue
<Stored value>: Character string
Value that will be stored if the user selects the element in the specified control.
<Control used>: Control name
Name of the List Box, ListView or Combo Box control to use.
<Element subscript>: Integer
Subscript of the element in the control (List Box, ListView or Combo Box) whose stored value is requested.
Versions 24 and later
New in version 24Remarks
Limits
..StoredValue is only used on:
- List Box, ListView and Combo Box controls.
Versions 24 and later"Text token" edit controls.
New in version 24"Text token" edit controls.
"Text token" edit controls.
Versions 16 and later
New in version 16
Versions 17 and later
New in version 17