Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

Image Removed

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:

Image Added

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.

...