These events are generated by wScrollBar and wSlider.
Events: | wScrollEvent | Description |
wEvent_Slider | Sent to wSlider before all of following event. Use getKind() to know what kind of type it is. |
wEvent_ScrollBar | Sent to wScrollBar before all of following event. Use getKind() to know what kind of type it is. |
wEvent_ScrollTop | Scroll to top or leftmost. |
wEvent_ScrollBottom | Scroll to bottom or rightmost. |
wEvent_ScrollLineUp | Scroll line up or left |
wEvent_ScrollLineDown | Scroll line down or right. |
wEvent_ScrollPageUp | Scroll page up or left. |
wEvent_ScrollPageDown | Scroll page down or right. |
wEvent_ScrollThumbTrack | Frequent events sent as the user drags the thumbtrack. |
wEvent_ScrollThumbRelease | Thumb release events. |
wEvent_ScrollChanged | End of scrolling events |
|
method getKind(self: wScrollEvent): int {...}{.inline, raises: [], tags: [].}
-
Returns what kind of event type this is. Basically used in wEvent_ScrollBar or wEvent_Slider.
method getOrientation(self: wScrollEvent): int {...}{.inline, raises: [], tags: [].}
-
Returns wHorizontal or wVertical
method getScrollPos(self: wScrollEvent): int {...}{.raises: [], tags: [].}
-
Returns the position of the scrollbar.