How to make TWebBrowser 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
            20:13 UTC
        
        
        Read the original article
        Hit count: 456
        
I have a TWebBrowser placed on a form with the designMode enabled.
Bellow the browser I have a close button with the Caption set 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 and/or don't accept chars (e.g. TButton).  
How can I solve this?
Thanks in advance.
© Stack Overflow or respective owner