SLIDER item definition
Defines a slider element, in a grid-based layout.
Syntax
SLIDER 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
COLOR, COLOR WHERE, COMMENT, DEFAULT, FONTPITCH, HIDDEN, INCLUDE, JUSTIFY, NOENTRY, ORIENTATION, SAMPLE, STEP, STYLE, TABINDEX, TAG, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, VALIDATE LIKE, VALUEMIN, VALUEMAX.
Usage
Define the rendering and behavior of a slider item tag, with an
SLIDER element in the ATTRIBUTES section.
For more details about this item type, see SLIDER item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
SLIDER f1 = workstate.duration,
VALUEMIN=0, VALUEMAX=50,
STEP=1;
...