• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Mnemonics for menus in the applet

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
BUT
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,

regards
maulin
 
Those are the largest trousers in the world! Especially when next to this ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic