Occurs after the viewport has scrolled in a determined direction.
Private Sub object_AfterScroll (ByVal Direction As
Long, ByVal value As Long)
The AfterScroll event syntax has these parts:
||An object expression that evaluates to a SmartViewport object.
|| A Long that determines the scroll direction as described
||A Long that determines the amount of twips the object has
The settings for direction are:
||The viewport has scrolled vertically.
||The viewport has scrolled horizontally.
The AfterScroll event is fired just after the viewport has scrolled its
contained controls. You can get the total amount of scrolled distance by checking
properties OffsetX and OffsetY.