LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom built context menu possible?

Hallo,

is there a possibility to create a right mouse click context menu in
LabVIEW 7.1.1 or later?. I want to click with the right mouse onto a
subpanel holding a VI frontpanel and provide a context menu for that VI?

Regards
Oliver
0 Kudos
Message 1 of 5
(3,127 Views)

Hi Oliver,

You can create custom run-time popup menus on controls natively in LabVIEW 8.0.  If you must use LabVIEW 7.x or earlier, you will have to implement the custom menus yourself...I've never really seen an implementation in LabVIEW 7.x that looked as polished as the native menus, however.  If you search the forums or the on-line example programs for custom popup menus, you should be able to find some previous threads or articles that can help you.  But if you really need this functionality, I'd recommend upgrading to LabVIEW 8.0.

Good luck,
-D

0 Kudos
Message 2 of 5
(3,111 Views)
There was an implementation floating around which used windows API functions to generate the context menus, so it should look just like "the real thing". Try searching for it either here or in the LAVA forums.

___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(3,101 Views)
Oliver,
   Darren and tst are 100% correct. LabVIEW 7.1.1 does not have the native ability to have custom run-time menus and that was one of the features we added with LV 8. There is always a way to create run-time menus with the Windows API, but getting this functionality to work correctly with 7.1.1 can be tricky. I would definitely suggest looking into LV 8 if you already don't have it. Let us know if there are any questions about the custom run-time menus we can answer.  Thanks!!
 
Tyler H.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,091 Views)
Tyler <x@no.email> wrote in news:1142358169695-338138@exchange.ni.com:

....

Hallo Tyler,

thankx for the hints. That's no problem I've found another way to interact
with my GUI, at least as nice as with a right click menu.
Regarding LV8, at the moment I want to stick to 7.1.1 until at least the
first 20% of the bugs have been discovered by other engineers but me.

Personally it is not my philosophy to "release each day a new product" (NI
marketing philosophy) but that's another story.


--
Regards

Oliver Friedrich
0 Kudos
Message 5 of 5
(3,078 Views)