Previous Next

FGCOLOR attribute

(Graphical interfaces only)
The color number for the foreground color of the widget.
Data type:
Access:
Applies to:
The color number represents an entry in the color table maintained by the COLOR-TABLE handle.
For a browse cell, it specifies the color of a specific cell in the view port. You can set this color only as the cell appears in the view port during a ROW-DISPLAY event.
You cannot set this attribute for a BUTTON widget.
You cannot set this attribute for combo-boxes, selection-lists, editors, or native fill-in fields (VIEW-AS FILL-IN NATIVE) when they are disabled (not SENSITIVE).
Setting the FGCOLOR attribute for any of the following field-level widgets within a dialog-box or frame overrides any INHERIT-FGCOLOR attribute or option settings: BROWSE, COMBO-BOX (all types), EDITOR, FILL-IN (NATIVE and Enabled), and SELECTION-LIST.
Note:
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.