LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Menu Item with underscore

When I insert menu items that have underscores it underlines the previous letter rather than showing underscore. How do I fix this problem?
0 Kudos
Message 1 of 5
(3,026 Views)
Are you trying to get a menu item to be selected by an Alt key combination? Placing an underscore "_", before any letter in the Item Name will cause an underscore to appear under the subsequent letter (not previous) and allow Alt + the underscored letter to active that menu item. For example, J_unk will appear as Junk with an underscore under u and ALT + u will activate the Junk menu.
0 Kudos
Message 2 of 5
(3,026 Views)
I am trying to show path names that have underscores in them in a menu (i.e. recently viewed files). Is there away to show file names with underscores in the name?
0 Kudos
Message 3 of 5
(3,026 Views)
Okay, I see what you're trying now. What you can try is putting an underscore, underscore as the first two characters in the itme name. It seems like the menu editor will then ignore any subsequent underscores as special and just treat it as a character.
0 Kudos
Message 4 of 5
(3,026 Views)
festo wrote in message news:<50650000000800000053010100-1079395200000@exchange.ni.com>...
> When I insert menu items that have underscores it underlines the
> previous letter rather than showing underscore. How do I fix this
> problem?

Use two underscores in a row.
0 Kudos
Message 5 of 5
(3,026 Views)