ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Right Click Menu Items

I know this is VERY simple, however, I can't figure it out.

I'm trying to re-create this Application from scratch.

How are the Right-click menu items created?

HELP

 

Keith

0 Kudos
Message 1 of 5
(1,015 Views)

To edit, make sure you right-click the very edge of the array, then select Advanced -> Run-Time Shortcut Menu-> Edit:

Kyle97330_0-1715373048629.png

To activate anything you add to the menu, create an event structure, then create a case for the array, then the shortcut menu, then the appropriate sub-event:

Kyle97330_1-1715373172215.png

"App" is for anything built-in.  The one with the question mark allows you to cancel the built-in functionality.

 

"User" would be for anything you add to the menu manually.

0 Kudos
Message 2 of 5
(978 Views)

Kyle, thanks for the suggestions, however, I couldn't get to the "Insert Element Before" and "Delete Element" from the right-click menu while the application is running.

Can you please help me create another Array with another right-click menu with any items?

 

Keith

0 Kudos
Message 3 of 5
(961 Views)

@DeOdderKeith wrote:

Kyle, thanks for the suggestions, however, I couldn't get to the "Insert Element Before" and "Delete Element" from the right-click menu while the application is running.

Can you please help me create another Array with another right-click menu with any items?

 

Keith


If you need the only these, then you don't need to customize menu, this is how it looks by default in run-time:

Screenshot 2024-05-11 08.08.20.png

 

Be sure that the defaukt menu is enabled in VI props:

Screenshot 2024-05-11 08.13.07.png

 

But if you prefer to override default with your own customized, then you should use these two tags:

APP_SC_DELETE_ELEMENT
APP_SC_INSERT_ELEMENT_BEFORE

 

Message 4 of 5
(916 Views)

THANKS !!!

 

That was the solution

 

 

Keith

0 Kudos
Message 5 of 5
(900 Views)