Setting focus on a TWebBrowser
- From: Leif Holmgren <nobody@xxxxxxxxxxx>
- Date: Sat, 24 Dec 2005 09:24:56 +0100
Hello!
I have an application where I use a TWebBrowser component. I want to programattically move focus to it but for some reason that fails. I can see that the focus leaves the old control. Checking the forms ..ActiveControl tells me that the WebBrowser has the focus, but it does not take input from the scroll-wheel until I have clicked in it.
After clicking in the browser control's space the forms .ActiveControl still says it's the webbrowser that has focus.
I just don't get it. I have done this many times before but seem to fail this time.
/Leif
.
- Follow-Ups:
- Re: Setting focus on a TWebBrowser
- From: Delphi Fan
- Re: Setting focus on a TWebBrowser
- Prev by Date: Re: fast drawing in delphi
- Next by Date: Re: fast drawing in delphi
- Previous by thread: How to dynamically rename a component in the object inspector ?
- Next by thread: Re: Setting focus on a TWebBrowser
- Index(es):
Relevant Pages
|