Results 1 to 2 of 2

Thread: setMnemonic

  1. #1
    newbie123 is offline Member
    Join Date
    Nov 2009
    Posts
    90
    Rep Power
    0

    Question setMnemonic

    I have a strange problem with setting a mnemonic for a button. I create a button, add an action listener, and it works just fine.

    I then add a mnemonic to the button with

    noBtn.setMnemonic('n');

    When I press ALT+n, nothing happens. But when I change the argument to any other character, for example,

    noBtn.setMnemonic('o');

    pressing ALT+o works just fine. In fact, all other characters seem to work as well.

    Is there something special with ALT+n?

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,234
    Rep Power
    7

    Default

    Works fine for me.

    If you need more help post your SSCCE showing the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •