OnScroll event (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Classes::TNotifyEvent OnScroll ;

Delphi Syntax

OnScroll: TNotifyEvent ;

Overview

Refer to Detecting Events.

Remarks

Occurs when a user drags the box on a Main Control's scrollbar.

This event occurs only if the AutoScroll property is set to TRUE.

See Also

Elements:

OnPaint event

Topics:

Working with the Control: Client Area Usage