Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%HI_GetColumnMasterEditable, %HI_SetColumnMasterEditable functions
Function
The %HI_SetColumnMasterEditable function disables to change a text in the column in the displayer of the Browser type (overloads the function %HI_SetEditEnable)/cancels the overloading and enables to change the text in particular column as defined by the function %HI_SetEditEnable (control function).
The %HI_GetColumnMasterEditable function gets the current status of overloading that is defined by %HI_SetColumnMasterEditable.
The %HI_GetColumnMasterEditable function gets the current status of overloading that is defined by %HI_SetColumnMasterEditable.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
%HI_SetColumnMasterEditable( INT in refId, INT in col, BOOL in bEnable ) BOOL %HI_GetColumnMasterEditable( INT in refId, INT in col ) |
Parameters
refId | Reference to graphic object (reference variable). |
col | Column in Browser. |
bEnable | @TRUE - enables the graphic object @FALSE - disables the graphic object |
Description
The %HI_SetColumnMasterEditable function disables to change a text in the column in the displayer of the Browser type - the parameter refId defines the name of the reference variable for Browser. When bEnable parameter is @FALSE, it overloads the %HI_SetEditEnable function (disables its functionality).
The %HI_GetColumnMasterEditable function gets the current status of overloading of editing which is set by %HI_SetColumnMasterEditable. The return value @TRUE does not mean that the column can be edited, but the column fields are controlled by %HI_SetEditEnable. @FALSE means the functionality of %HI_SetEditEnable function is disabled and the text in the column object cannot be changed.
The behavior of Master functions is described in the chapter Master functions.
The %HI_GetColumnMasterEditable function gets the current status of overloading of editing which is set by %HI_SetColumnMasterEditable. The return value @TRUE does not mean that the column can be edited, but the column fields are controlled by %HI_SetEditEnable. @FALSE means the functionality of %HI_SetEditEnable function is disabled and the text in the column object cannot be changed.
The behavior of Master functions is described in the chapter Master functions.
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnLogOn(IN TEXT _userName, IN BOOL _bLogOn) IF _bLogOn THEN ;when a user is logged on, a text in column can be edited %HI_SetColumnMasterEditable(_Text,@TRUE) ELSE ;when a user is logged off, the access to a text in column is disabled %HI_SetColumnMasterEditable(_Text,@FALSE) ENDIF END OnLogOn |
Note
This function is also in %HIX_ version.
Info | ||
---|---|---|
| ||
Graphic object manipulation functions |