The function %HI_Menu_AddObject adds HI_MENU from script.
Declaration
Blok kódu
language
esl
theme
Confluence
%HI_Menu_AddObject(
HBJ in hi_menu,
INT in _menuPos,
BOOL in _bPersistent
)
Parameters
hi_menu
Reference to object of HI_MENU type which is to be included in main menu of the HI process.
_menuPos
Consecutive number (starts form 1, ...) for the menu to class. If the menu is already defined in the existing consecutive place, new menu will appear next to it (menu which has been already defined is not deleted).
_bPersistent
If there is:
@TRUE - after closing the scheme, menu remains.
@FALSE - after closing the scheme, menu is deleted automatically.