List List Item - Visible Property

Show or hide the item

Member of List List Item (PRIM_LIST.ListItem)

Data Type - Boolean

Details

Visible will return True if the item is visible.

Example

In this example, items are shown if the surname does not contains the filter value, or no filter value is supplied.
Mthroutine Name(ApplyFilter)
Define_Map For(*Input) Class(#prim_alph) name(#Filter)
 
   Selectlist named(#list)
      #List.CurrentItem.Visible := (#Surname.Contains(#Filter)) *or (#Filter = "")
   Endselect
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2