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)
0 komentárov