[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handler type for scrolling events.
Source position: stdctrls.pp line 62
type TScrollEvent = procedure( |
Sender: TObject; |
ScrollCode: TScrollCode; |
var ScrollPos: Integer |
) of object; |
Sender |
|
The scrollbar |
ScrollCode |
|
The scroll action. |
ScrollPos |
|
The suggested new scroll position. Change this value to implement custom scroll behaviour. |
The handler is called before the new Position is set. It can adjust the new position, based on the parameters and the (old) scrollbar.Position.
lazarus-ccr.sourceforge.net |