%HI_GetTextColor, %HI_SetTextColor functions


Function
The function %HI_SetTextColor sets the text color of the graphic object (Control function).

The function %HI_GetTextColor detects the text color of the graphic object.
Declaration
%HI_SetTextColor(
   INT in refId, 
   INT in color
 )
 
 
 INT %HI_GetTextColor(
   INT in refId
 )
Parameters
refIdReference to graphic object (reference variable).
colorRGB index of color.
Note
The functions use a color, that is expressed by RGB index. RGB index is a integer number, that express the color representation of the color components - red (R), green (G) and blue (B) in the result color.

The function %MakeRGB allows to create the color from individual color components.

Write a comment...