Menu Functions

LabVIEW 2018 Help


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

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful