List input field - FocusItem Property

Reference to the focus entry in the list

Member of List input field (PRIM_MD.ListEdit)

Data Type - PRIM_MD.ListEditCurrentItem - Provides access to the edit field of the current list item

Details

The FocusItem property of a list edit allows access to the individual items within the list entries.
 
A list edit will only have a FocusItem if the FocusItem in the list has been set.

Example

Testing for a focus item before accessing the value property of the item.
If (#Edit.FocusItem *isnot *null)
 
   If (#Edit.FocusItem.Value <> "")
      ...
   Endif
 
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2