LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the menu reference of a control while runtime

Hello...

 

i want to disable the control's short-cut menu programmatically. i could do it by using the event structure and 'shortcut menu activation' event.

 

this is why i am asking about getting the menu reference if individual control.

 

is there any other way out without using event structure?

 

 

0 Kudos
Message 1 of 2
(4,002 Views)

"Share_Good" <x@no.email> wrote in message
news:1224574805039-795485@exchange.ni.com...
> Hello...&nbsp;i want to disable the control's short-cut menu
programmatically. i could do it by using the event structure and 'shortcut
menu activation' event.&nbsp;this is why i am asking about getting the menu
reference if individual control. &nbsp;is there any other way out without
using event structure?&nbsp;&nbsp;

No. You have to use the event. But if you simply disgard the activation, you
don't need to change it's run time menu. You'll need the event structure
anyway to catch the selected menu item.

Regards,

Wiebe.


0 Kudos
Message 2 of 2
(3,995 Views)