How to enable special keys (ctrl-c, ctrl-v, tab, delete) Windows.Form.WebBrowser Control

笑着哭i 提交于 2019-12-08 02:52:00

问题


I have a Window.Form that has a WebBrowser control on it. How do you enable the control to process special keys like the Tab key for navigating between controls?

I've seen answers for doing this in activeX and mfc controls but not for the .NET control.

Thanks


回答1:


The Windows.Forms WebBrowser control is a wrapper on the activex control. You have the property WebBrowserShortcutsEnabled (MSDN Link), however, that should be true by default.



来源:https://stackoverflow.com/questions/10435092/how-to-enable-special-keys-ctrl-c-ctrl-v-tab-delete-windows-form-webbrowser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!