From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Solution - 3DGraph right click menu

3D graph as an ActiveX control (LV 8.5) doesn't have right click menu. I was fighting with it couple times and never really found a solution. But now I realized that you can actually 'click through' so the solution is just to place transparent picture control of the same size and then handle it's menu events. If you right click the 3D graph it actually behave as if you right clicked the picture control itself and it displays it's menu. More in the attached example.Works fine in XP, 2000 in development environment and as stand alone.
LV 2011, Win7
Message 1 of 2
(2,392 Views)

Hi Ceties,

 

Thanks for the post and I am glad you've managed to be successful.

 

Could I suggest you post your code onto the NI Community pages please.

 

NI Developer Zone Community

http://decibel.ni.com/content/community/zone

 

Thanks again, 

 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 2
(2,340 Views)