Monochrome Attributes

From BR Wiki
Jump to navigation Jump to search

Older versions of BR used monochrome attributes to describe the visual characteristics of fields on a monochrome screen. When both monochrome and color attributes are specified in the same statement, Business Rules selects the appropriate attributes according to the type of screen that is used at start- up. The following monochrome attributes may have been used in older programs, but no longer function in current versions of BR:

B Blink.
H Highlighted (or high intensity).
R Reversed (dark letters on light background).
U Underlined.

Certain monochrome attributes are still in use, specifically:

I Invisible (non-display). This makes the specified INPUT or RINPUT field hidden. This attribute is used in situations (such as with a password) where the information that the operator types in should not be reproduced on the screen. Instead, it’s replaced with dots or asterisks as the user enters it.
N Normal display (grey background; no blinking, highlighting, underlining, or reversing). When this attribute is specified along with other monochrome attributes, the other attributes take precedence.
R Reversed now highlights a field only if no colors have been specified.
S Used only with PRINT FIELDS, makes the field appear “sunken” (with a shadow outline), just like the INPUT FIELDS default appearance. See also Sunken Appearance.