UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Include check mark in menu selection?

I am using right-click menus, by incorporation menu selction. I would like to be able to check and uncheck items in this menu. Is that possible to do?

I've stolen a pic from the net and added the blue check mark, as seen below:

first-stepChecked.PNG

0 Kudos
Message 1 of 3
(3,674 Views)

http://zone.ni.com/reference/en-XX/help/371361H-01/glang/set_menu_item_info/

The 'Checked' input is what you need.  It won't let you modify application items, such as Hide Indicator. 

Also, as far as I know, it can only be used in a Menu Activation event, because that's where you get the menu ref.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 3
(2,827 Views)

Thank you!

How can I have missed this when I was looking through the menu functions a million times yesterday? 🙂

The example picture was only taken just to show the "check" (and a menu). I have menus of my own, but didn't succeed in making a print screen of them.

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