|
-
Jul 18th, 2000, 06:48 PM
#1
Thread Starter
Junior Member
I have a WebBrowser Control on a form and the page is always changeing because of a Refresh Tag. So the page redirects every 5-10 seconds. If I'm resizing the form, or moving it around, or typeing in a textbox, the focus gets set to the Browser when the page changes.
Is there a way to stop the WebBrowser Control from stealing the focus everytime it changes pages?
-
Jul 18th, 2000, 07:02 PM
#2
-
Jul 18th, 2000, 07:24 PM
#3
Thread Starter
Junior Member
I tried placing that in the BeforeNavigate Event and it still steals the focus. I want the page to load, I just don't want the focus moving to the WebBrowser Control.
-
Jul 18th, 2000, 07:38 PM
#4
So then you just do in the webbrowser control anywhere:
Code:
Form1.SetFocus
or
Text1.SetFocus
-
Jul 18th, 2000, 07:54 PM
#5
Thread Starter
Junior Member
How am I supposed to know if the user is in the middle of resizing the form or typing in one of 50 textboxes? Among other things.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|