PROGRESSBAR item definition

Defines attributes for a progress indicator field.

Syntax

PROGRESSBAR item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. 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;
...