TScrollCode indicates what action the user performed on a scroll bar.
TScrollCode = ( scLineUp, scLineDown, scPageUp, scPageDown, scPosition, scTrack, scTop, scBottom, scEndScroll );
enum TScrollCode { scLineUp, scLineDown, scPageUp, scPageDown, scPosition, scTrack, scTop, scBottom, scEndScroll };
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. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|