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 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.
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