Engine.ConstructToolMenus
- Updated2025-07-21
- 1 minute(s) read
Engine.ConstructToolMenus
Syntax
Engine.ConstructToolMenus( [editArgsParam])
Return Value
The number of Tools menus that exist. This number includes the Tools menu and submenus.
Purpose
Remarks
Creates the internal data for the Tools menu that is visible in user interfaces and sequence editors.
Call this function to initialize the Tools menu and submenus for the first time or whenever the Engine.DisplayToolMenuDialog method modifies the Tools menu or submenus. This method also evaluates the hidden expressions to determine which items to include in the Tools menu. The number of Tools menu items and submenus remains fixed until the next time you call this function.
Parameters
editArgsParam As Variant
[In] [ Optional ] Specifies which items in the user interface are currently selected. The method uses this information to calculate the item text, hidden, and enabled states of each menu item by evaluating its item text, hidden, and enabled expressions.
See Also
Engine.GetEditTimeToolMenuItems