Show or hide the item
Member of Tree View Item (PRIM_TVIT)
Data Type - Boolean
Visible will return True if the item is visible.
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
LANSA Version 15, April 2020