%HI_SetMasterEnable( INT in refId, BOOL in bEnable ) BOOL %HI_GetMasterEnable( INT in refId ) |
| refId | Reference to graphic object (reference variable). |
| bEnable | @TRUE - enables of graphic object @FALSE - disables of graphic object |
ENTRY OnLogOn(IN TEXT _userName, IN BOOL _bLogOn)
IF _bLogOn THEN
;when a user is logged on, the object is enabled
%HI_SetMasterEnable(_Text,@TRUE)
ELSE
;when a user is logged off, the access to object is disabled
%HI_SetMasterEnable(_Text,@FALSE)
ENDIF
END OnLogOn
|