HI_GetBrowserFormatMask
%HI_SetBrowserFormatMask, %HI_GetBrowserFormatMask functions
Function
The function %HI_SetBrowserFormatMask sets a format mask to the cell oft the Browser displayer. The function supports the basic mask syntax. From the extended syntax, it supports only {V}, {T} a {Tmask}.
The function %HI_GetBrowserFormatMask gets back a format mask that was set to the cell of the Browser displayer.
Declaration
%HI_SetBrowserFormatMask(
INT in refId,
INT in row,
INT in col,
TEXT in formatMask
)
TEXT %HI_GetBrowserFormatMask(
INT in refId,
INT in row,
INT in col
)Parameters
refId | Reference to the displayer (reference variable). |
row | Row of the cell (from 1 up-to ...). |
col | Column of the cell (from 1 up-to...). |
formatMask | Value of Format mask. |
Notes
If the parameter row = 0, format mask will be set for the whole column col.
If the parameter col = 0, format mask will be set for the whole row row.
If both row and col = 0, format mask will be set for the whole displayer.
Example
; setting of format mask for the whole displayer
%HI_SetBrowserFormatMask(_browser, 0, 0, "{V}")
; setting of format mask for the column of No. 3
%HI_SetBrowserFormatMask(_browser, 0, 3, "{V}")
; setting of format mask for the cell [2,3]
%HI_SetBrowserFormatMask(_browser, 2, 3, "{V}") Note 2
This function is available also in %HIX_ version.