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 = 32770
wEvent_Slider = 32771
wEvent_ScrollBar = 32772
wEvent_ScrollTop = 32773
wEvent_ScrollBottom = 32774
wEvent_ScrollLineUp = 32775
wEvent_ScrollLineDown = 32776
wEvent_ScrollPageUp = 32777
wEvent_ScrollPageDown = 32778
wEvent_ScrollThumbTrack = 32779
wEvent_ScrollThumbRelease = 32780
wEvent_ScrollChanged = 32781
wEvent_ScrollLast = 32782

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.