[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The scroll action type, as reported by the widget.
Source position: stdctrls.pp line 47
type TScrollCode = ( |
||
scLineUp, |
|
Scroll one line up (column left). |
scLineDown, |
|
Scroll one line down (column right). |
scPageUp, |
|
Scroll one page up (left). |
scPageDown, |
|
Scroll one page down (right). |
scPosition, |
|
Scroll to the specified position. |
scTrack, |
|
Scroll tracking to the specified position. |
scTop, |
|
Scroll to the top (left) end. |
scBottom, |
|
Scroll to the bottom (right) end. |
scEndScroll |
|
Scrolling finished. |
); |
TScrollCode is an enumerated type with values that represent scroll actions received from the widgetset class for a scrollbar. The positions and values in the enumeration correspond to the constants defined in the LCLType unit, and include:
Values in TScrollCode are passed as an argument to the Scroll method in TCustomScrollBar, and subsequently to the TScrollEvent event handler in the OnScroll property.
|
Defines an event handler type for scrollbar events. |
|
|
Signals the OnScroll event handler. |
|
|
Event handler signalled when scrollbar messages are applied. |
Version 3.2 | Generated 2024-02-25 | Home |