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 = 32770
wEvent_Spin = 32771
wEvent_SpinUp = 32772
wEvent_SpinDown = 32773
wEvent_SpinLeft = 32774
wEvent_SpinRight = 32775
wEvent_SpinLast = 32776

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.