SPINEDIT item definition
Defines a spin box widget to enter integer values, in a grid-based layout.
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.
Attributes
AUTONEXT
, COLOR
, COLOR WHERE
,
COMMENT
, DEFAULT
, FONTPITCH
, HIDDEN
, IMAGECOLUMN
,
INCLUDE
, JUSTIFY
, NOT NULL
, NOENTRY
, PLACEHOLDER
, REQUIRED
, SAMPLE
, STEP
, STYLE
, TABINDEX
, TAG
, TITLE
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, VALIDATE
LIKE
, VALUEMIN
, VALUEMAX
.
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;
...