Other option and maybe more universal, as a button doesn't have the use
UseMnemonic property, is to put two & in the string.
for example str = "abc&&de"
--
Thanks
Wayne Sepega
Jacksonville, Fl
Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.spt3nrkpklbvpo@stone...
Hi WAkthar,
You need to set the UseMnemonic property to false or &<character> will be
translated to underscore and a short-cut key.
--
Happy coding!
Morten Wennevik [C# MVP]