Vcl.StdCtrls.TScrollBar.OnScroll
Delphi
property OnScroll: TScrollEvent read FOnScroll write FOnScroll;
C++
__property TScrollEvent OnScroll = {read=FOnScroll, write=FOnScroll};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TScrollBar |
Description
Occurs when the user scrolls the scroll bar with the mouse or keyboard.
Write an OnScroll to alter the way the scrollbar adjusts its position when the user scrolls the scroll bar.
OnScroll is an event handler of type Vcl.StdCtrls.TScrollEvent.
See Also
Code Examples