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

Methods

method getKind(self: wScrollEvent): int {...}{.property, inline, raises: [], tags: [].}
Returns what kind of event type this is. Basically used in wEvent_ScrollBar or wEvent_Slider.
method getOrientation(self: wScrollEvent): int {...}{.property, inline, raises: [], tags: [].}
Returns wHorizontal or wVertical
method getScrollPos(self: wScrollEvent): int {...}{.property, raises: [], tags: [].}
Returns the position of the scrollbar.