Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

GetRunTimeToolMenuItems Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.GetRunTimeToolMenuItems ( [editArgsParam], reserved = 0)

Return Value

RunTimeMenuItems

Purpose

Returns a reference to a RunTimeMenuItems object. Use this method to determine the run-time text and dimmed state of menu items that are defined in the collection that GetEditTimeToolMenuItems returns.

Remarks

TestStand maintains a collection of Tools menu items. You can obtain a reference to the collection using GetEditTimeToolMenuItems. 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 whose hidden expressions evaluate to False from the run-time collection. The run-time collection also contains expanded submenus for menu items of type ToolMenuType_SequenceFile.

Parameters

editArgsParam As Variant

[In] [Optional] Specifies which items in the user interface are currently selected. 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.


See Also

GetEditTimeToolMenuItems

RunTimeMenuItem


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit