ENTRY OnLogOn(IN TEXT _userName, IN BOOL _bLogOn)
IF _bLogOn THEN
;when a user is logged on, the object is visible
%HI_SetMasterVisible(_Text,@TRUE)
ELSE
;when a user is logged off, the object is hide
%HI_SetMasterVisible(_Text,@FALSE)
ENDIF
END OnLogOn
0 komentárov