01-07-2009 10:03 AM
Here is the catch 22.
I need 2 things to add a checkmark to a selected menu item.
1. The menu reference, so I can use the Get Menu Item Info Function and Set Menu Item Info FunctionsubVIs to check and uncheck the item.
2. I need which item was selected.
Those two things are not available in the same event structure frame. I don't know how to pass the menu reference to the frame that catches the item tag. Don't suggest a incodator, global, or functional global. That don't work. As best I can tell, the menu reference is only good in the Activation? event frame.
01-07-2009 12:53 PM
Hi Doug,
you don´t need the refnum, the only thing you need is to know which element was selected and store it in your internal buffer, to draw the checked mark at the next call.
See the attached example please.
Mike
01-07-2009 01:09 PM
Sometimes I can't see the trees because of the forest. Nice simple solution. I guess I get caught up in the complexity of property nodes and events that I miss the simplest solution.
Thanks.