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.
(Real-Time Module) You cannot use these functions in VIs that run on RT targets.
Palette Object | Description |
---|---|
Current VI's Menubar | Returns the menu reference refnum of the current VI. |
Delete Menu Items | Deletes menu items from the menu or a submenu within the menu. |
Enable Menu Tracking | Enables or disables tracking of menu bar selections. |
Get Menu Item Info | Returns the attributes of a menu item or menu bar. |
Get Menu Selection | Returns the item tag of the last selected menu item, optionally waiting ms timeout milliseconds. |
Get Menu Short Cut Info | Returns the menu item that is accessible through a given shortcut. |
Insert Menu Items | Inserts menu items specified by item names or item tags into a menu or a submenu within the menu. |
Set Menu Item Info | Sets the attributes of a menu item. |
Refer to the Customizing the Menubar in the labview\examples\Dialog and User Interface\Menu directory for an example of using the Menu Functions.