Occurs when the right range of the scroll has been changed.
![]() | Type | Description | ||
| Horizontal as Boolean | A boolean expression that indicates whether the horizontal scroll bar has changed. | |||
| NewVal as Long | A long value that indicates the new scroll bar value. |
If the control has no scroll bars the OffsetChanged and OversizeChanged events are not fired. When the scroll bar range is changed the OversizeChanged event is fired. Use the ScrollBars property of the control to determine which scroll bars are visible within the control. The control fires the LayoutChanged event when the user resizes a column, or change its position.