Get Menu Item Info Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Menu Functions

Requires: Base Development System

Returns the attributes of a menu item or menu bar.

(Real-Time Module) You cannot use this function in VIs that run on RT targets.

item tag identifies the item whose attributes you want to return. The default is to return the menu bar attributes.

Use application item tags to return application menu item attributes.
menu reference is the reference to a menu bar in a VI or to a shortcut menu of a control. You can obtain this refnum with the Current VI's Menubar function or with the MenuRef event data field of menu events.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
submenu tags are the submenu item tags if the item has a submenu.
menu reference out returns menu reference unchanged.
item name is the string that appears in the menu.
If enabled is FALSE, the menu item is grayed out.
error out contains error information. This output provides standard error out functionality.
If checked is TRUE, the menu item has a checkmark next to it.
short cut is the keyboard equivalent of selecting this menu item with a mouse.
If include Shift key? is TRUE, the shortcut includes the <Shift> key, in addition to the shortcut key.
If include Ctrl key? is TRUE, the shortcut includes the <Ctrl> key, in addition to the shortcut key. You can set include Ctrl key? to FALSE only if you select a function key, such as <F1>, <F2>, and so on, as the shortcut key. On macOS, the key included is <Command>. On Linux, the key included is <Alt>.
shortcut key describes the key associated with the shortcut.

WAS THIS ARTICLE HELPFUL?

Not Helpful