Home
Being Pedantic - Do your buttons have a mnemonic?
  v2.0 Posted at 24/02/2017 1:33 AM by Tiago Araujo

A mnemonic for a button is the letter which has an underscore, and the user can press the button using Alt-<char>.

Browse Button
Figure: Bad Example - All buttons without Mnemonic
Browse Button
Figure: Good Example - All buttons with Mnemonic - user can easily choose which button they want without a click
In Windows Applications, it is quite easy to assign a mnemonic to a button with the "&" character.
So for the case above, the text would be:

btnAbout.Text = "&About"

Tip: In Windows XP the mnemonic display effects can be hidden by Default and then shown every time the user presses the Alt key.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments: