LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Turning off right click on table in 6.1

I have an application in 6.1 where I use a table to display some results. If someone right clicks, they can do all kinds of things (like reinitialize, delete, etc.) that I don't like. Looked under property node but could not figure out how to turn off that ability. Any suggestions?
0 Kudos
Message 1 of 4
(2,814 Views)
There is a VI setting to disable right clicks when the panel is running in VI Properties>Window Appearance>Customize>Allow Run-Time shortcut menus. This will disable RCmenus for all the FP.

For an indicator, you can disable it to prevent the RC menu to appear. However, the user won't be able to select and copy data from the content.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 4
(2,814 Views)
Thank you. That solved it perfectly.
0 Kudos
Message 3 of 4
(2,814 Views)
The above solution applies to the entire FP, so it is not very specific. You can also specifically disable right-clicks inside the table only by using a filtering event for the table: "mouse down?"

Just check if the button is two and discard the event in that case. See attached example.
0 Kudos
Message 4 of 4
(2,814 Views)