TScrollEvent procedure type
Defines an event handler type for scrollbar events.
Declaration
TScrollEvent = procedure(Sender: TObject; ScrollCode: TScrollCode;
var ScrollPos: Integer) of objectArguments
Sender | The scrollbar for the event notification. |
ScrollCode | The scroll action for the notification. |
ScrollPos | New position for the scrollbar. |
Description
TScrollEvent is an object procedure which defines an event handler
signalled when a scroll event occurs in the scrollbar widgetset class. The
event handler is called before the new
Position is set for the
control. The value in Position can be adjusted to implement custom scrollbar
behavior.
TScrollEvent is the type used to implement the OnScroll event
handler in TCustomScrollBar.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
