Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mnemonics for menus in the applet  RSS feed

Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
here is the code i'm testing...

i set all the mnemonics for the File menu in my applet so that i can invoke it from the keyboard but here is what happens,
1. when i do alt-f it popsup the File menu and by default it automatically selects the first item which is "New" menu in my applet. when i press alt-x it doesn't invoke the Exit option.
when instead of going via the keyboard, if i click on File by Mouse then i can select 'x' from the keyboard to invoke the Exit menu item.
please try it yourself and try to reproduce the error.
another issue i found is,
you see the button in my applet? if i don't put that button in my applet i can't invoke File menu via alt-f!!! I concluded that i had to put "something" in my applet area to make alt-f work so i did put a button. you can try removing the button and see what happens when you press alt-f.
i use IE5.0 , plugin-1.4.1_01.
here is the HTML i have,

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