Engine.GetRunTimeToolMenuItems
- Updated2024-10-09
- 1 minute(s) read
Engine.GetRunTimeToolMenuItems
Syntax
Engine.GetRunTimeToolMenuItems( [editArgsParam], reserved = 0)
Return Value
Purpose
Returns a reference to a RunTimeMenuItems object. Use this method to determine the run-time text and dimmed state of menu items defined in the collection the Engine.GetEditTimeToolMenuItems method returns.
Remarks
TestStand maintains a collection of Tools menu items. You can obtain a reference to the collection using the Engine.GetEditTimeToolMenuItems method. You can also customize the contents of the Tools menu.
TestStand uses the menu items in the edit-time collection to generate a run-time version of the menu items. TestStand evaluates edit-time menu item expressions to determine the value of run-time properties, such as menu item text and whether menu items are enabled. TestStand excludes any edit-time menu items with hidden expressions that evaluate to False from the run-time collection. The run-time collection also contains expanded submenus for menu items using the ToolMenuType_SequenceFile type.
Parameters
editArgsParam As Variant
[In] [ Optional ] Specifies the currently selected items in the user interface. The menu item expressions can use this information to determine item text, hidden state, and enabled state.
reserved As Long
[In] Pass 0 for this parameter.
This parameter has a default value of 0 .