Skip to main content

OnVScroll Event

Fired when the user scrolls vertically.## Definition

OnVScroll(Position)

Parameters​

ParameterDescription
PositionThe new scrollbar position

Remarks​

The OnVScroll event is fired when the user moves the vertical scroll bar or scrolls using the mouse wheel. The new scrollbar position is provided via the Position parameter.

Example​

Transfer Param1 to Position

// Synchronize with another control
Set_Property(@Window:".OLE_PICTURE2", "OLE.ScrollPos", @FM:Position)

See Also​

OnHScroll, OnZoom