LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove context menu from standalone executable

When I build a stand alone executable from within LabVIEW all controls of the application contain a context (right click) menu (Cut Data, Copy Data, Paste Data, Description and Tip, ..).
Is it possible to suppress this menu?
0 Kudos
Message 1 of 4
(3,389 Views)
Yes, it is possible.
Select File->VI Properties->Window Appearance->Customize...
And then uncheck option "Allow run-time shortcut menu"
0 Kudos
Message 2 of 4
(3,389 Views)
Hi Ralli,

Adding an event case to check for a right-mouse button does the trick provided you discard the event only when the right button is used (See code).

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 4
(3,389 Views)
> When I build a stand alone executable from within LabVIEW all controls
> of the application contain a context (right click) menu (Cut Data,
> Copy Data, Paste Data, Description and Tip, ..).
> Is it possible to suppress this menu?

You can use the Tools>>Properties dialog to disable the shortcut or
right-click menu. You can also directly enter this into the .ini file
that goes with the exe.

Greg McKaskle
0 Kudos
Message 4 of 4
(3,389 Views)