
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
LANSA Version 15, April 2020