05-21-2009 01:18 PM
I read in text from a spreadsheet file and I create menu items using Insert Menu Items. The menu looks fine. I click on the menu and I see the following:
My Menu
Item A
Item B
Item C
I use Get Menu Selection to see which one the user has selected. When the user selects Item B the item tag returned to me by Get Menu Selection says "Item B_1" The same for the other choices.
I have been using Get Menu Selection for a long time without a problem. The only difference here is that some of the items in My Menu also appear in My Other Menu. Is it possible that item tags must be unique across all menus? And if so, how can I work around this?
Solved! Go to Solution.
05-21-2009 01:23 PM
David Lieberman wrote:
Is it possible that item tags must be unique across all menus?
Yes. This is specified in the LabVIEW Help.
And if so, how can I work around this?
You can't. They have to be unique. You can always set the tags yourself. As long as they're unique.