wSpinEvent

These events are generated by wSpinButton and wSpinCtrl.

Superclass:wCommandEvent
Seealso:wSpinButton wSpinCtrl
Events:
wSpinEventDescription
wEvent_SpinPressing an arrow. This event can be vetoed in wSpinCtrl.
wEvent_SpinUpPressing up arrow. This event can be vetoed in wSpinCtrl.
wEvent_SpinDownPressing down arrow. This event can be vetoed in wSpinCtrl.
wEvent_SpinLeftPressing left arrow.
wEvent_SpinRightPressing right arrow.

Consts

wEvent_SpinFirst = 32787'i32
wEvent_Spin = 32788'i32
wEvent_SpinUp = 32789'i32
wEvent_SpinDown = 32790'i32
wEvent_SpinLeft = 32791'i32
wEvent_SpinRight = 32792'i32
wEvent_SpinLast = 32793'i32

Methods

method getSpinPos(self: wSpinEvent): int {...}{.inline, raises: [], tags: [].}
Gets the current value (before change).
method setSpinPos(self: wSpinEvent; pos: int) {...}{.inline, raises: [], tags: [].}
Set the value associated with the event.
method getSpinDelta(self: wSpinEvent): int {...}{.inline, raises: [], tags: [].}
Gets the delta value.
method setSpinDelta(self: wSpinEvent; delta: int) {...}{.inline, raises: [], tags: [].}
Set the value associated with the event.