%HI_GetBackColor2, %HI_SetBackColor2 functions


Function
The function %HI_SetBackColor2 sets a 2nd gradient color for the graphic object or picture (control function).

The function %HI_GetBackColor2 gets RGB of the 2nd gradient color for the specified graphic object or picture.
Declaration
%HI_SetBackColor2(
   INT in refId, 
   INT in color
 )
 
 
 INT %HI_GetBackColor2(
   INT in refId
 )

Parameters
refId Reference to graphic object (reference variable) or picture (if RefId=0).
color RGB 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.
Napíšte komentár