GetEditTimeToolMenuItems Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.GetEditTimeToolMenuItems ( reserved = 0)

Return Value

EditTimeMenuItems

Purpose

Returns a reference to a EditTimeMenuItems object.

Remarks

TestStand maintains a collection of tools menu items. Use this collection to customize the tools menu items the sequence editor and user interface display. Each menu item in the collection specifies the menu item type and expressions which determine menu item text, hidden state, and enabled state. A menu item can specify a collection of submenu items.

You can use the Engine.GetRunTimeToolMenuItems method to obtain a reference to a run-time instance of the Tools menu. TestStand evaluates edit-time menu item expressions to determine the value of run-time properties. The run-time properties specify the menu item text and whether a menu item is enabled. TestStand excludes any menu items with hidden expressions that evaluate to False from the run-time copy of the Tools menu. The run-time copy of the Tools menu also contains expanded submenus for menu items using the ToolMenuType_SequenceFile type, where each submenu item is a menu item using the ToolMenuType_Sequence type.

Parameters

reserved As Long

[In] Pass 0 for this parameter.

This parameter has a default value of 0.


See Also

EditTimeMenuItem

Engine.GetRunTimeToolMenuItems

WAS THIS ARTICLE HELPFUL?

Not Helpful