Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%HI_SetBrowserFont, %HI_GetBrowserFont function
Function
The function %HI_SetBrowserFont sets the text font for the specified item of the displayer of the Browser type. Text font is defined by an object of Text font type (Control function).
The function %HI_GetBrowserFont gets the font (HOBJ) of the item of the displayer of the Browser type.
The function %HI_GetBrowserFont gets the font (HOBJ) of the item of the displayer of the Browser type.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
%HI_SetBrowserFont( INT in refId, INT in row, INT in col, HBJ in fnt ) HBJ %HI_GetBrowserFont( INT in refId, INT in row, INT in col ) |
Parameters
refId | Reference to the graphic object (reference variable). |
row | Item row. |
col | Item column. |
fnt | Reference to object of the Text font type. |
Note
If parameter row = 0, then it is set/detect a text style for all the cells in the col column.
If parameter col = 0, then it is set/detect a text style for all the cells in the row row.
If both parameters row and col = 0, then it is set/detect a text style for all the cells in the browser.
If both parameters row and col = -1, then it is set/detect a text style for the header and all the cells in the browser. Moreover, the height of the header and height of browser rows will fit the size of the set font.
If parameter col = 0, then it is set/detect a text style for all the cells in the row row.
If both parameters row and col = 0, then it is set/detect a text style for all the cells in the browser.
If both parameters row and col = -1, then it is set/detect a text style for the header and all the cells in the browser. Moreover, the height of the header and height of browser rows will fit the size of the set font.
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
; setting the text font for the whole displayer %HI_SetBrowserFont(_browser, 0, 0, Text.STL\HBJ) ; setting the text font for the column 3 %HI_SetBrowserFont(_browser, 0, 3, Text.STL\HBJ) ; setting the text font for the item [2,3] %HI_SetBrowserFont(_browser, 2, 3, Text.STL\HBJ) |
Info | ||
---|---|---|
| ||
Graphic object manipulation functions |