Combining styles and style attributes

Several styles can be combined, and style attributes can be mixed.

Several style names can be combined, by using the space character as a separator in the STYLE attribute. In the following example, the STYLE attribute references the info and mandatory style names:

EDIT f001 = customer.fname, STYLE = "info mandatory";
When several styles define attributes that do not enter in conflict, these style attributes are combined. For example, the following .4st defines the info and mandatory styles using different font attributes:
  <Style name="">
    <StyleAttribute name="fontFamily" value="monospace" />
  <Style name="Edit.mandatory">
    <StyleAttribute name="fontWeight" value="bold" />

The EDIT widgets having a STYLE attribute set to "info mandatory" will get all font attributes defined by the referenced styles.