%HI_SetBrowserForeColor( INT in refId, INT in row, INT in col, INT in RGB, [INT in overrideType = 0] ) INT %HI_GetBrowserForeColor( INT in refId, INT in row, INT in col )
refId | Reference to graphic object
(reference variable). |
row | Item row. |
col | Item column. |
RGB | RGB index of color. |
overrideType | Allowed values for overrideType: 1 - the set color will be applied always 2 - the set color will be applied only if the cell is not colored by the display palette or status text |
; 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)
Pridať komentár