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.

  Add to the block diagram | 
  Find on the palette | 
![]()  | 
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. 
  |