I have a C# WinForm application. On my Buttons I use the '&' (in the .Text properties) for
Hotkey access. The strange behavior is that
the '&' is converted to the appropriate underscore while
in design mode BUT DOES NOT appear at Runtime.
At runtime the Hotkey functionality works, but the
relevant underscores do not appear. For example, I have a
buttonSearch.Text = "&Search". At Runtime, the button
displays as "Search" and pressing "alt + S" triggers the event.
but the problem is that the underscore3 is not shown before i press alt !!!
Is this a bug? Or is there an obvious solution I have
overlooked. I do have KeyPreview = true.
i also want to set a tool tip !!
Any suggestions would be greatly appreciated!
Thanks,