...
The spinner widget is an input widget used for numeric input. Users can control the value using the up/down arrows, or users can type the value.
...
Validation (Rich UI Only)
...
If you bind the value property to a program value, then the data should be integer type:
If a spinner is bound with character data type, then the user could type non-numeric characters into the field. When it is bound with numeric type, then Profound UI validates the data; i.e. it prevents the user from typing non-numeric characters into the field.
For more information about bindingon field validation, please visit the Field Binding page Validation and Error Messages page.
Field Binding (Rich UI Only)
Most of the widget properties can be bound to RPG program variables. Binding is available only for the Rich UI only.environment.
If you bind the value property to a program value, then the data should be integer type:
For more information on field validationabout binding, please visit the Validation and Error Messages page Field Binding page. Binding is available for the Rich UI only.
Spinner Properties
You can set these properties in designer, or you can bind them and let a program set the values.
...