Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : PFCOLOR attribute
 

PFCOLOR attribute

(Character interfaces only)
The color number of the color of a widget that has input focus. The edge color of a rectangle widget.
Data type: INTEGER
Access: Readable/Writeable
Applies to: BROWSE widget (browse, column, and cell), BUTTON widget, COMBO-BOX widget, DIALOG-BOX widget, EDITOR widget, FILL-IN widget, FRAME widget, MENU widget, MENU-ITEM widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, SUB-MENU widget, TOGGLE-BOX widget, WINDOW widget
The color number represents an entry in the color table maintained by the COLOR-TABLE handle.
For field-level widgets that receive focus, the PFCOLOR attribute specifies the input color for the widget. In windows, the PFCOLOR attribute specifies the color inherited by menu items in the menu bar when they are chosen, if the menu items don't already have the PFCOLOR specified.
For browse widgets, this color represents the input color for the focused cell.
For more information on widget color, see the DCOLOR attribute.