Occurs when the scroll box (called the thumb) has changed on the object by using the mouse.
Object.OnScroll()
The OnScroll event syntax has the following parts:
| Name | Type | Description | 
| Object | AScrollBar | AScrollBar control | 
sb1.OnScroll()
{
sb1.Caption="Scrolling has occurred."
}