HI_GetColumnMasterVisible
%HI_GetColumnMasterVisible, %HI_SetColumnMasterVisible functions
Functions
The %HI_SetColumnMasterVisible hides a column in the displayer of Browser type (overloads the function %HI_SetColumnVisible)/cancels the overloading and enables to control the visibility of the column by the %HI_SetColumnVisible function (control function).
The %HI_GetColumnMasterVisible function gets the current status of overloading that is defined by %HI_SetColumnMasterVisible.
Declaration
%HI_SetColumnMasterVisible(
INT in refId,
INT in index,
BOOL in bVisible
)
BOOL %HI_GetColumnMasterVisible(
INT in refId,
INT in index
)Parameters
refId | Reference to graphic object (reference variable). |
index | Column number. |
bEnable | Visibility of column. |
Description
The %HI_SetColumnMasterVisible function enables to hide the column in the displayer of Browser type - the parameter refId defines the name of the reference variable for Browser. When bEnable parameter is @FALSE, it overloads the %HI_SetColumnVisible (disables its functionality).
The %HI_GetColumnMasterVisible function gets the current status of overloading of column visibility which is set by %HI_SetcolumnMasterVisible. The return value @TRUE does not mean that the column is visible, but the column visibility is controlled by %HI_SetColumnVisible. @FALSE means the functionality of %HI_SetColumnVisible function is disabled and the column is hide.
The behavior of Master functions is described in the chapter Master functions.
Example
ENTRY OnLogOn(IN TEXT _userName, IN BOOL _bLogOn)
IF _bLogOn THEN
;when a user is logged on, the column is visible
%HI_SetColumnMasterVisible(_Text,@TRUE)
ELSE
;when a user is logged off, the column is hide
%HI_SetColumnMasterVisible(_Text,@FALSE)
ENDIF
END OnLogOn
Note
This function is also in %HIX_ version.