SPINEDIT item definition
Defines attributes for a spin box widget to enter integer values.
Syntax
SPINEDIT item-tag = field-name [
, attribute-list ]
;
- item-tag is an identifier that defines the name of the item tag in the layout section.
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
AUTONEXT
, COLOR
, COLOR WHERE
, COMMENT
, DEFAULT
, FONTPITCH
, HIDDEN
, IMAGECOLUMN
, INCLUDE
, JUSTIFY
, NOT NULL
, NOENTRY
, PLACEHOLDER
, REQUIRED
, REVERSE
, SAMPLE
, STEP
, STRETCH
, STRETCHMAX
, STRETCHMIN
, STYLE
, TABINDEX
, TAG
, TITLE
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, VALIDATE
LIKE
, VALUEMIN
, VALUEMAX
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, textColor
, textDecoration
.
Class-specific: none.
Usage
Define the rendering and behavior of a spin edit item tag,
with a SPINEDIT
element in the ATTRIBUTES
section.
For more details about this item type, see SPINEDIT item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
SPINEDIT f1 = command.nbitems, STEP=5;
...