Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%HI_Menu_AddItem function
Function
The function %HI_Menu_AddItem adds the items from script into menu.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
%HI_Menu_AddItem( INT in _ID, INT in type, TEXT in text, INT in itemId, INT in parentItemId, HBJ in _object, INT in instance ) |
Parameters
_ID |
Working menu, |
created by |
function %HI_Menu_Create. | |
type | Item type. Allowed values:
|
text | Text of item which is to be added. |
itemId | Unique identifier. |
parentItemId | Unique identifier of the parent popup menu (popup menu one level above). |
_object | Reference to object of Graph, Picture or Report type, which is opened after the item selection. |
instance | Instance number in which the object is to be opened. It can be used only for objects of Graph and Picture type. |
Description
The function adds the item from script into menu.
After selection the item with the parameters _object = 0 and instance = 0, the event (ENTRY OnMenu_Result) is generated into picture that created the menu.
If the menu is persistent, the ENTRY will not be generated after picture (that created menu) closing.
Info | ||
---|---|---|
| ||
Active picture manipulation functions |