Adding a mnemonic to a C# Button

  • Thread starter Thread starter Donal Kelly
  • Start date Start date
D

Donal Kelly

hi,

I'm building a GUI in C# and I want the buttons to have a mnemonic character
attached to the button. I cannot seem to do this in C#, where it was very
simple to do in Visual C++.

Thanks,
donal
 
More precisely, use the & char before the character you want the accelerator
for. For example:

&Load will underlne the "L" and "L" will be your accelerator (or mnemonic,
whatever word you want to use).

Or E&xit would make "x" your accelerator.

Pete
 
Back
Top