Previous Next

DCOLOR attribute

(Character Interfaces only)
The color number for the display color of the widget in character mode. This attribute is ignored in graphical interfaces.
Data type:
Access:
Applies to:
For browse widgets, it is readable only. 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.
For rectangles, DCOLOR specifies the fill color. In windows, DCOLOR specifies the color inherited by the menu bar, if the menu bar has no color specified.
The color number represents an entry in the color table maintained by the COLOR-TABLE handle.
You can now change the color of the background of menu frames (including menubars, submenus and pop-up menus) using the DCOLOR attribute. Previously, specifying the DCOLOR attribute for menus only changed the default color for menu items. Now, the DCOLOR attribute will be applied to the menu frame also. Note that no syntax changes were made. You can still specify the DCOLOR attribute for individual menu items.
For more information on widget color, see the PFCOLOR attribute.

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