Common Properties

The set of bar common properties includes:

TITLE

A bar does not have a title .

VALUE

A bar does not have a value.

SIZE

The SIZE and LINES values of a bar are measured in window cells. One of the SIZE or LINES phrases must be zero (or unspecified). If LINES is zero, the bar is horizontal. If SIZE is zero, the bar is vertical. Setting SIZE and LINES to non-zero values has an undefined effect.

COLOR

A bar uses only the foreground color. The foreground color is the color of the entire bar. See the COLORS special property for other options.

ATW-CSS-CLASS

This property enables you to apply CSS styles to the control when the program is run through AcuToWeb. The value of ATW-CSS-CLASS should represent a corresponding class in the current theme (that is, a .class-name entry in the cascading style sheet) deployed when you run your program through AcuToWeb. This property can be applied to more than one control in your program.

If both the ATW-CSS-CLASS and ATW-CSS-ID properties are specified for this control, and both correspond to the same style in the style sheet, the style specified by ATW-CSS-ID takes precedence.

See Cascading Style Sheet Syntax for more information about additional in-built styles in AcuToWeb.

ATW-CSS-ID

This property enables you to apply CSS styles to the control when the program is run through AcuToWeb. The value of ATW-CSS-ID should represent a corresponding ID in the current theme ((that is, a #class-name entry in the cascading style sheet)) deployed when you run your program through AcuToWeb. The value of this property must be unique, and only applied to one control in your program.

If both the ATW-CSS-CLASS and ATW-CSS-ID properties are specified for this control, and both correspond to the same style in the style sheet, the style specified by ATW-CSS-ID takes precedence.

See Cascading Style Sheet Syntax for more information about additional in-built styles in AcuToWeb.

STYLES

A bar does not have styles in a character-based operating system. In a graphical system, a bar can have the following styles:

DOTTED This style creates a dotted line instead of a solid line. It is a valid style only when the bar's width is one. The COLORS and SHADING properties are ignored when this style is specified. The line is drawn with the control's foreground color. This style is not available on character-based systems.
DASHED This style creates a dashed line instead of a solid line. It is valid only when the bar's width is one. The COLORS and SHADING properties are ignored when this style is specified. The line is drawn with the control's foreground color. This style is not available on character-based systems.
DOT-DASH This style creates a line that alternates dots and dashes. It is valid only when the bar's width is one. The COLORS and SHADING properties are ignored when this style is specified. The line is drawn with the control's foreground color. This style is not available on character-based systems.