FGCOLOR attribute
(Graphical interfaces only)The color number for the foreground color of the widget.
Data type: INTEGER
Access: Readable/Writeable
Applies to: BROWSE widget (browse, column, and cell), COMBO-BOX widget, DIALOG-BOX widget, EDITOR widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget, WINDOW widget
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: This attribute has no meaning for control-frames because the ActiveX control visualization constitutes the foreground.See also: BGCOLOR attribute, Frame phrase, INHERIT-FGCOLOR attribute
OpenEdge Release 10.2B
|