SpinEdit

The SpinEdit item type defines a spin box widget.

Example

Figure: SpinEdit


This figure is an example of a spin box widget defined by the SpinEdit item type.

Properties

autoNext, color, colorCondition, comment, defaultValue, fontPitch, hidden, include, justify, notNull, noEntry, required, sample, sizePolicy, step, style, tabIndex, tag, Validate Like,valueMin,valueMax

Usage

This item type allows the user to choose a value either by clicking the up/down buttons to increase/decrease the value currently displayed, or by typing the value directly into the spin box.

The step between two values is defined by the step attribute.

The valueMin and valueMax attributes define respectively the lower and upper integer limit of the spin-edit range. There is no default min or max value for the SPINEDIT widget.

This widget has to be used with a SMALLINT or INTEGER variable, larger types like BIGINT or DECIMAL are not supported.

This widget is not designed for CONSTRUCT, as you can only enter an integer value.