Header Color (HeaderColor)
Color to use as the background 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 usually follows Windows behavior in applying colors. Depending on the Windows version and the object, the color may not always be applied. For example, the column headers in Grid widgets may follow a theme, or they may be rendering to appear as white.
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.
When the HeaderColor property is defined, the rendering is handled by grid widget rather than the Microsoft theme. The color is applied to column and row headers, if they are visible.
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