IntControlSetRange

HC GUI programming IntControls IntControlSetRange
IntControlSetValue IntControlOnChange

IntControlSetRange aintcontrol min max


Command to set the range of valid numbers of the IntControl aintcontrol to stay between the numbers min and max inclusive.

Example:

ic=(IntControl [][X] -400 0 400 [x=IntControlValue (pr "x= x)])
IntControlSetRange ic -10.11 20.22

Reference:

IntControlSetValue IntControlOnChange