Determines whether the range you specify with the rangeMax and rangeMin properties is enforced.

Property of

SpinBox

Description

Set rangeRequired to true to enforce a range limitation specified by the rangeMax and rangeMin properties. You may set rangeRequired to false to temporarily disable range checking.

When range checking is active, existing values are checked when they are displayed in the control. The spinbox also will not allow the entry of a number that is higher than rangeMax or lower than rangeMin. If the number—an existing number or new number—is out of range, the spinbox will change the number to the range limit; to rangeMax if the number is too large, or to rangeMin if the number is too small.