• Post Reply Bookmark Topic Watch Topic
  • New Topic

setMnemonic doubt  RSS feed

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

in order to reach the effect of clicking it with pressing ENTER key instead, but it only works with ALT+ENTER combination

i read the following from API:
Sets the keyboard mnemonic on the current model. The mnemonic is the key which when combined with the look and feel's mouseless modifier (usually Alt) will activate this button if focus is contained somewhere within this button's ancestor window.


My Q: how can i arrange things so that it works by just pressing ENTER?

TiA
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!