OnScroll Event (AScrollBar)

Occurs when the scroll box (called the thumb) has changed on the object by using the mouse.

Syntax

Object.OnScroll()

The OnScroll event syntax has the following parts:

 

Name

Type

Description

Object

AScrollBar

AScrollBar control

Example

sb1.OnScroll()

{

  sb1.Caption="Scrolling has occurred."

}

Applies to

AScrollBar

See Also

LargeChange, OnChange, SmallChange