Workspace advanced APIs. Adds a new menu item by universal name before the specified index (-1 for the end) inside the provided menu path. See 'ws2GetMenusCnt'.
FUNCTION ws2AddMenuItem(
menuPath : DYNARRAY[] of CHAR;
newMenuUnivName : DYNARRAY[] of CHAR;
beforeIndex : INTEGER): BOOLEAN;def vs.ws2AddMenuItem(menuPath, newMenuUnivName, beforeIndex):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| menuPath | DYNARRAY[] of CHAR | |
| newMenuUnivName | DYNARRAY[] of CHAR | |
| beforeIndex | INTEGER |
Availability: from Vectorworks 2021