%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 (reference variable).
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 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

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .