Header Text Color (HeaderTextColor)
Color to use as the foreground color of grid widget headers.
HeaderColor=
ColorName
| HexColorNumber | RGBColor
Value | Description |
---|---|
ColorName | Name of a web color or system color. For more information, see Standard Colors . |
HexColorNumber | Hexadecimal number (prefixed by a hash
mark) of a color. For example: #D90E1A . |
RGBColor |
RGB (Red Green Blue) numeric values in the
form
R, G, B.
For example 255,0,0 |
Applies To
Description
Uniface follows Windows behavior in applying colors. Depending on the Windows version and the object, the color may not always be applied.
To provide a consistent appearance no matter what version of Windows is being used, the default background and foreground colors of the grid widget are defined using HeaderColor and HeaderTextColor properties in the usys.ini.
The HeaderTextColor property enables you to adjust the text color if you choose a dark color for HeaderColor.
Setting Properties
The HeaderColor and HeaderTextColor properties can be set in usys.ini, in the More properties of the Grid Widget properties dialog, and in ProcScript using $entityProperties.
putitem/id vProperties,"HeaderColor","ControlLight";" putitem/id vProperties,"HeaderTextColor","green" $entityproperties(ORDERLINE.SALES)=vProperties