LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom run-time pop-up menus

Hi All:

Is there any way to customize the pop up menus that appear when you right click a control in the front panel??

Thanks in advance.

Robst.



Robst - CLD

Using LabVIEW since version 7.0


0 Kudos
Message 1 of 6
(2,975 Views)

Yes, custom pop-up menus is a feature in LabVIEW 8.0.  If you're using an earlier version, there are some hacks that people have written (doing things like making a listbox visible above the control that looks like a popup menu), but for the most elegant solution, use the custom pop-up feature in 8.0.

-D

P.S. - Note:  I assume you're talking about customizing the menus at run-time.  At edit-time, I don't think there's anything you can customize.

Message Edited by Darren on 02-02-2006 01:29 PM

Message 2 of 6
(2,972 Views)
Hi Darren:

Thanks for the reply. Unfortunately, I'm using LabVIEW 7.0, so I guess I'll have to implement one of the non-elegant solutions. Do you know another besides the "pop up listbox"?.

I may use this as an argument for my boss to finally buy LabVIEW 8! Smiley Very Happy

Regards.

Robst.



Robst - CLD

Using LabVIEW since version 7.0


0 Kudos
Message 3 of 6
(2,965 Views)

I've never actually used any of the hack solutions, but I'm guessing there's other posts on Dev Zone, info.labview, or LAVA that have different approaches to the problem.  Happy searching!  😉

-D

Message 4 of 6
(2,957 Views)
Someone once posted a bunch of VIs that used the windows API functions to create standard windows context menus. I'm pretty sure it was in the LAVA forums, so you should start by searching there.

___________________
Try to take over the world!
Message 5 of 6
(2,955 Views)
Hi:

Thanks guys, I've searched in the LAVA Forums and I've found a set of interesting VI's.

Best Regards




Robst - CLD

Using LabVIEW since version 7.0


0 Kudos
Message 6 of 6
(2,943 Views)