Vcl.StdCtrls.TScrollCode
Delphi
TScrollCode = System.UITypes.TScrollCode;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.StdCtrls.pas | Vcl.StdCtrls | Vcl.StdCtrls |
Description
TScrollCode indicates what action the user performed on a scroll bar.
TScrollCode describes the type of scrolling action requested. It can be any of the following values:
| Value | Meaning |
|---|---|
|
scLineUp |
User clicked the top or left scroll arrow or pressed the Up or Left arrow key. |
|
scLineDown |
User clicked the bottom or right scroll arrow or pressed the Down or Right arrow key. |
|
scPageUp |
User clicked the area to the left of the thumb tab or pressed the PgUp key. |
|
scPageDown |
User clicked the area to the right of the thumb tab or pressed the PgDn key. |
|
scPosition |
User positioned the thumb tab and released it. |
|
scTrack |
User is moving the thumb tab. |
|
scTop |
User moved the thumb tab to the top or far left on the scroll bar. |
|
scBottom |
User moved the thumb tab to the bottom or far right on the scroll bar. |
|
scEndScroll |
User finished moving the thumb tab on the scroll bar. |