How to make TWebBrower ignore accelerator chars of others controls?

Posted by douglaslise on Stack Overflow See other posts from Stack Overflow or by douglaslise
Published on 2010-04-08T17:49:31Z Indexed on 2010/04/08 17:53 UTC
Read the original article Hit count: 409

Filed under:
|
|
|

I have a TWebBrowser placed on a form with the designMode enabled.
Bellow the browser I have a close button with the Caption setted to 'Clos&e'.
When I am editing the contents of a document inside the WebBrowser and I press the key E the button close is called.
It appears that it is treating TWebBrowser like other controls that don't handle keys (e.g. TButton).

How can I solve this?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about twebbrowser