wScrollWinEvent

These events are generated by wWindow when the window is scrolling. Notice that these events are very similar to wScrollEvent but not derive from wCommandEvent. It means, these events won't propagate upwards by default.

Superclass:wEvent
Seealso:wWindow
Events:
wScrollWinEventDescription
wEvent_ScrollWinSent to window before all of following event. Use getKind() to know what kind of type it is.
wEvent_ScrollWinTopScroll to top or leftmost.
wEvent_ScrollWinBottomScroll to bottom or rightmost.
wEvent_ScrollWinLineUpScroll line up or left
wEvent_ScrollWinLineDownScroll line down or right.
wEvent_ScrollWinPageUpScroll page up or left.
wEvent_ScrollWinPageDownScroll page down or right.
wEvent_ScrollWinThumbTrackFrequent events sent as the user drags the thumbtrack.
wEvent_ScrollWinThumbReleaseThumb release events.
wEvent_ScrollWinChangedEnd of scrolling events

Methods

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