I want to have a MenuItem with the Text property set to "Tom & Jerry" but, as you all know, the '&' before a character tells Windows that the next character is the keyboard shortcut.
So how does one escape the '&' to show up as text in the MenuItem?
I want to have a MenuItem with the Text property set to "Tom & Jerry" but, as you all know, the '&' before a character tells Windows that the next character is the keyboard shortcut.
So how does one escape the '&' to show up as text in the MenuItem?
You can use a double, &&, but it will be underscored.
Just tested (Wm 6.1 emulator), and TheTXI had the right guess: 4 ampersands, &&&& did finally show up as 1 single. Wonder who thought that up. Will try it on my HTC Touch next.
Confirmed, my Device and the emulator agree. But the Designer can't be trusted.