wScrollEvent

These events are generated by wScrollBar and wSlider.

Superclass:wCommandEvent
Seealso:wScrollBar wSlider
Events:
wScrollEventDescription
wEvent_SliderSent to wSlider before all of following event. Use getKind() to know what kind of type it is.
wEvent_ScrollBarSent to wScrollBar before all of following event. Use getKind() to know what kind of type it is.
wEvent_ScrollTopScroll to top or leftmost.
wEvent_ScrollBottomScroll to bottom or rightmost.
wEvent_ScrollLineUpScroll line up or left
wEvent_ScrollLineDownScroll line down or right.
wEvent_ScrollPageUpScroll page up or left.
wEvent_ScrollPageDownScroll page down or right.
wEvent_ScrollThumbTrackFrequent events sent as the user drags the thumbtrack.
wEvent_ScrollThumbReleaseThumb release events.
wEvent_ScrollChangedEnd of scrolling events

Consts

wEvent_ScrollFirst = 32787'i32
wEvent_Slider = 32788'i32
wEvent_ScrollBar = 32789'i32
wEvent_ScrollTop = 32790'i32
wEvent_ScrollBottom = 32791'i32
wEvent_ScrollLineUp = 32792'i32
wEvent_ScrollLineDown = 32793'i32
wEvent_ScrollPageUp = 32794'i32
wEvent_ScrollPageDown = 32795'i32
wEvent_ScrollThumbTrack = 32796'i32
wEvent_ScrollThumbRelease = 32797'i32
wEvent_ScrollChanged = 32798'i32
wEvent_ScrollLast = 32799'i32

Methods

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.