The built in palettes have been updated so that the label text shows an underline after the ampersand. Here you can see the mnemonic character underlined for a couple of label instances.

The KryptonLabel also has a new property called Target of type Control. Use this property to designate the control that should become focused when the mnemonic is used for the label. This allows you to place a label next to another control, such as a TextBox, and then specify the mnemonic that will cause the TextBox to become selected.

When you click the label control it will also invoke the mnemonic target, so the user can use either the mnemonic character or the mouse to click and get the same action.

3 Responses to “KryptonLabel mnemonics”

  1. Miketrix Says:

    Hi Phil,

    Nice update for the Label. Is there a chance to see the problem of the Label BackColor resolved for the next release ? (see this post on the forum: http://www.componentfactory.com/forums/viewtopic.php?t=23 )

    Thanks for your great support !

  2. Phil Wright Says:

    This should now be fixed, check out the next blog post.

  3. Sam Santos Says:

    Nice!
    Any chance we will see something similar for KryptonHeader and KryptonGroup (Values of Heading Description)?
    Actually I was more interested in not having to parse the text searching for ampersands, sometimes I get things like ‘Barnes Noble’. I’m just lazy ;)

Leave a Reply