HI_GetBrowserBackColor
%HI_SetBrowserBackColor, %HI_GetBrowserBackColor functions
Function
The function %HI_SetBrowserBackColor sets the background color of the specified item of the displayer of Browser type (Control function).
The function %HI_GetBrowserBackColor returns the background color of the specified item of the displayer of Browser type.
Declaration
%HI_SetBrowserBackColor(
INT in refId,
INT in row,
INT in col,
INT in RGB
)
INT %HI_GetBrowserBackColor(
INT in refId,
INT in row,
INT in col
)Parameters
refId | Reference to graphic object |
row | Item row (starting with 1...). |
col | Item column (starting with 1...). |
RGB | RGB index of color. |
Note
To get the RGB index of a color use the function %MakeRGB.
If the parameter row = 0, the color is set/detected for the whole column col.
If the parameter row = -2, the color for the header is set/detected.
If the parameter col = 0, the color is set/detected for the whole row row.
If both row = 0 and col = 0, then the color is set/detected for the whole displayer.
If the RGB color value is -1, the default color settings from the configuration of the displayer of Browser type will be used.
Example
; setting the background color to the whole displayer
%HI_SetBrowserBackColor(_browser, 0, 0, _RGB); setting the background color for the column nr. 3
%HI_SetBrowserBackColor(_browser, 0, 3, _RGB); setting the background color for the item [2,3]
%HI_SetBrowserBackColor(_browser, 2, 3, _RGB)