%HI_SetBrowserForeColor, %HI_GetBrowserForeColor functions


Function
The function %HI_SetBrowserForeColor sets the text color of the displayer of Browser type (Control function).

The function %HI_GetBrowserForeColor gets the text color of the displayer of Browser type.

Declaration
%HI_SetBrowserForeColor(
   INT in refId, 
   INT in row, 
   INT in col, 
   INT in RGB
 )
 
 
 INT %HI_GetBrowserForeColor(
   INT in refId, 
   INT in row, 
   INT in col
 ) 

Parameters
refId Reference to graphic object (reference variable).
row Item row.
col Item column.
RGB RGB index of color.

Note
To get the RGB index of a color use the function %MakeRGB.
The value of the parameter row (col) can be also 0. So there is set (detected) the color for defined row (column). If both row = 0 and col = 0, then the color is set (detected) for the whole displayer.
Example
; setting the text color for the whole displayer
 %HI_SetBrowserForeColor(_browser, 0, 0, _RGB)
  
 ; setting the text color for the column nr. 3
 %HI_SetBrowserForeColor(_browser, 0, 3, _RGB)
  
 ; setting the text color for the item [2,3]
 %HI_SetBrowserForeColor(_browser, 2, 3, _RGB)

Napíšte komentár