Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shortcut key problem in vb.net

Status
Not open for further replies.

ty1122

Programmer
Jan 20, 2005
16
US
So i have a form with a menu. Some menuitems are assigned shortcut keys. I can use them when i first load the program.
I also have a webbrowser and whenever i load a webpage in it, the shortcut keys on the menu stop working. I tried to do me.focus() but it didn't work everytime. Sometimes i will get my shortcut keys back but most times they don't work.
Any ideas how i can solve this problem?

Thanks,
Tai
 
i just found out that whenever i right click in the webpage, the shortcut key will work but after i left click it will stop..so i guess i can add a click event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top