Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 715 Bytes

File metadata and controls

29 lines (23 loc) · 715 Bytes

ws2AddMenuItem

Description

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

Parameters

Name Type Description
menuPath DYNARRAY[] of CHAR
newMenuUnivName DYNARRAY[] of CHAR
beforeIndex INTEGER

Version

Availability: from Vectorworks 2021

Category