Skip to main content

OnHScroll Event

Fired when the user scrolls horizontally.

Definition​

OnHScroll(Position)

Parameters​

ParameterDescription
PositionThe new scrollbar position

Remarks​

The OnHScroll event is fired when the user moves the horizontal scroll bar. 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", Position)

See Also​

OnVScroll, OnZoom