tsteward Well-Known Member Licensed User Longtime User Apr 21, 2009 #1 I currently have a form with a tool bar and a webbrowser on it. Whilst browsing a web page I want to press Control E on the keyboard to trigger the click routine of a toolbar button. (this is a desktop program) Anyone able to tell me how I might do this please?
I currently have a form with a tool bar and a webbrowser on it. Whilst browsing a web page I want to press Control E on the keyboard to trigger the click routine of a toolbar button. (this is a desktop program) Anyone able to tell me how I might do this please?
agraham Expert Licensed User Longtime User Apr 21, 2009 #2 I'm afraid this is not easily done. IIRC WebBrowser swallows all the key presses and doesn't offer any events for them. Also, again IIRC, enabling Form.KeyPreview http://www.b4x.com/forum/official-updates/2038-door-library-beta-special-library-5.html#post12399 doesn't work either if the focus is on a WebBrowser.
I'm afraid this is not easily done. IIRC WebBrowser swallows all the key presses and doesn't offer any events for them. Also, again IIRC, enabling Form.KeyPreview http://www.b4x.com/forum/official-updates/2038-door-library-beta-special-library-5.html#post12399 doesn't work either if the focus is on a WebBrowser.
tsteward Well-Known Member Licensed User Longtime User Apr 21, 2009 #3 Thats what I thought. Thank anyway. I was just hopeing to make a keyboard short cut. Not to worry