Show or hide the item |
Member of Carousel Item (PRIM_CARO.CarouselItem)
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