Panel - VerticalScrollTo Method

Set the vertical scroll position using a child control

Member of Panel (PRIM_PANL)

Parameters

NameTypeData TypeDescription
Control*InputPRIM_CTRLControl to be moved in to the view port
ScrollPosition*InputEnumerationPosition of the control within the view port

Details

The VerticalScrollTo method scrolls the container so that the Control moves to the position specified within the viewport.

Allowed Values

Enum ValueDescription
BottomMove to the bottom
CenterMove to the center
TopMove to the top
VisibleEnsure it is visible within the viewport


 
 

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020