Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%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.
The function %HI_GetBrowserBackColor returns the background color of the specified item of the displayer of Browser type.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
%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 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
Blok kódu | ||||
---|---|---|---|---|
| ||||
; setting the background color to the whole displayer %HI_SetBrowserBackColor(_browser, 0, 0, _RGB) |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; setting the background color for the column nr. 3 %HI_SetBrowserBackColor(_browser, 0, 3, _RGB) |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; setting the background color for the item [2,3] %HI_SetBrowserBackColor(_browser, 2, 3, _RGB) |