How to turn off the mnemonic on a Menu component exposed by the button?

Answered
0
1

I have a button that has a MenuItems collection .

There are entries that have ‘&’ in them. This is causing the character right after the ‘&’ to be underlined. I tried searching for a way to set UseMnemonic to false but I can’t find that option for the Wisej.Web.MenuItem. Is there a way to turn the UseMnemonic off or is there something else I am missing?

Using WiseJ 2.2.60

  • You must to post comments
Best Answer
1
0

You can replace the & with && to have the & displayed and not treated as an indicator for the mnemonic.
Otherwise replace the & with just nothing.

&& is a bit like an escape sequence. Similar to how \n is newline, but \\ is just \.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.