PROGRESSBAR item definition
Defines attributes for a progress indicator field.
Syntax
PROGRESSBAR 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
COLOR, COLOR WHERE, COMMENT, FONTPITCH, HIDDEN, JUSTIFY, VALUEMIN, VALUEMAX, SAMPLE, STYLE, STRETCH, STRETCHMAX, STRETCHMIN, TAG, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE.
Style attributes
Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, textColor, textDecoration.
Class-specific: percentageVisible.
Usage
Define the rendering and behavior of a progress bar item tag,
with a PROGRESSBAR element in the ATTRIBUTES section.
For more details about this item type, see PROGRESSBAR item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
PROGRESSBAR f1 = workstate.position,
VALUEMIN=-100, VALUEMAX=+100;
...