Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Menu Functions

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Dialog & User Interface VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Menu functions to modify the menus in LabVIEW applications. Use the functions located on the top row of the palette to handle menu selections.

Example

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

Palette ObjectDescription
Current VI's MenubarReturns the menu reference refnum of the current VI.
Delete Menu ItemsDeletes menu items from the menu or a submenu within the menu.
Enable Menu TrackingEnables or disables tracking of menu bar selections.
Get Menu Item InfoReturns the attributes of a menu item or menu bar.
Get Menu SelectionReturns the item tag of the last selected menu item, optionally waiting ms timeout milliseconds.
Get Menu Short Cut InfoReturns the menu item that is accessible through a given shortcut.
Insert Menu ItemsInserts menu items specified by item names or item tags into a menu or a submenu within the menu.
Set Menu Item InfoSets the attributes of a menu item.

Example

Refer to the Customizing the Menubar in the labview\examples\Dialog and User Interface\Menu directory for an example of using the Menu Functions.


 

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