• Post Reply Bookmark Topic Watch Topic
  • New Topic

mnemonic and wiondows L&F

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have this code:

when i see it with default L&F, i get the letter E with underscore, but if i use this code:

my E letter does not appear with underscore...
what might i do in order to correct this?

TiA
 
Darrin Cartwright
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Miguel,

I think this is actually a "feature" :roll: of the Windows XP look and feel. Try this, make sure the window containing the button has focus, and then hold down the "Alt" key. The mnemonic will then be displayed, as long as the "Alt" key is pressed.
With all of the possible Look and Feel classes, it's hard to determine whats a feature, and whats a bug.
Hope that helps!

Darrin
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure the window containing the button has focus, and then hold down the "Alt" key. The mnemonic will then be displayed, as long as the "Alt" key is pressed.

yes, it does work that way on all buttons

thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!