Engine.InvokeToolMenuItem
- Updated2026-02-03
- 1 minute(s) read
Engine.InvokeToolMenuItem
Syntax
Engine.InvokeToolMenuItem( menuIndex, itemIndex)
Purpose
Note
This method is obsolete. Use the
Engine.GetEditTimeToolMenuItems
and
Engine.GetRunTimeToolMenuItems
methods instead.
Remarks
Executes the action associated with a Tools menu item, which you specify with a menu index and an item index.
Note
You must call the
Engine.ConstructToolMenus
method before calling this function.
Parameters
menuIndex As Long
[In] Specifies a zero-based index for a Tools menu or submenu.
itemIndex As Long
[In] Specifies a zero-based index for an item within a Tools menu or submenu.