![]() | Type | Description | ||
| Group as Group | A Group object where the scroll position is changed. | |||
| 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 in pixels. |
The following sample displays the position of the scroll bar that user changes:
Private Sub ExplorerTree1_OffsetChanged(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Horizontal As Boolean, ByVal NewVal As Long)
Debug.Print "The user changes the " & IIf(Horizontal, "horizontal", "vertical") & " scroll bar position. The new position is " & NewVal
End Sub