Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List Item - Visible Property

Panel
bgColor#2c3c4c

Show or hide the item

Member of List Item (PRIM_MD.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(SetIcon)
Define_Map For(*INPUT) Class(#PRIM_MD.ListEditCurrentItem) Name(#iEditCurrentItem) Pass(*BY_REFERENCE)

Begin_Loop Using(#xDemoNumber) From(0) To(100)

Add_Entry To_List(#List)

#List.CurrentItem.Visible := #xDemoNumber.mod( 2 ) = 0

End_Loop

Endroutine


See also

All Component Classes

Technical Reference