HI_GetForeColor
%HI_GetForeColor, %HI_SetForeColor functions
Function
The function %HI_SetForeColor sets the foreground color of the graphic object (Control function).
The function %HI_GetForeColor detects the foreground color of the graphic object.
Declaration
%HI_SetForeColor(
INT in refId,
INT in color
)
INT %HI_GetForeColor(
INT in refId
)Parameters
refId | Reference to the graphic object |
color | RGB index of color. |
Note
The functions use a color expressed by the RGB index. The RGB index is a integer number which expresses the color representation of the color components - red (R), green (G) and blue (B) in the result color.
The function %MakeRGB allows to form the color from individual color components.