Scroll a list so that the item is within the visible area
Member of List View Item (PRIM_LVIT)
Data Type - Boolean
Setting EnsureVisible to True will move the item so that it is within the visible portion of the list.
The example below shows a simple routine that looks through a list for a name. When a match is found the item is moved in to view.
Mthroutine Name(Find) Define_Map For(*input) Class(#Prim_alph) Name(#Name) Selectlist Named(#List) Continue If(#Surname <> #Name) #List.CurrentItem.EnsureVisible := True Leave Endselect Endroutine
LANSA Version 15, April 2020