Combining styles

You can combine several styles, by using the space character as a separator in the STYLE attribute.

In the following example, the STYLE attribute defines three different style names:

EDIT f001 = customer.fname, STYLE = "info highlight mandatory";

When several styles are combined, the same presentation attribute might be defined by different styles. In this case, the first style listed that defines the attribute takes precedence over the other styles.

For example, if the textColor presentation attribute is defined as follows by the info, highlight and mandatory styles:

The widgets having a style set to "info highlight mandatory" will get a blue text color, because highlight is listed before mandatory.