SetSpinBoxStep spinbox,step
Parameters
|
spinbox - spin box gadget step - amount added or removed per arrow click; must be positive |
Description
|
Sets how much a spin box's arrows change its value per click. Requires Extended language mode. The step applies to the up/down buttons and to the arrow keys while the field has focus. The default is 1; a position field in an editor might use 5 so nudging moves in useful increments, while the user can still type any exact value - typed numbers are clamped to the range but never snapped to the step. Zero or negative steps stop with a runtime error. Each arrow click that actually changes the value posts a critical $401 event with the new value in EventData. See it working in the native input controls sample. See also: CreateSpinBox, SetSpinBoxRange, SetSpinBoxValue, SpinBoxValue. |
Index