|
-
Sep 30th, 2011, 05:05 PM
#1
Thread Starter
Hyperactive Member
Simultaneous Webbrowsers not working good
I have a tabcontrol with 2 webBrowsers, one on each tab. One of them is doing some automated stuff sometimes. If I am for example writing in a field in the non-automated browser, and the automated webbrowser starts doing its "thing" the non-automated one looses focus and you can't write in it until the automated is done with its thing.
What can I do to fix this? Please say if I should describe the problem better.
-
Sep 30th, 2011, 10:01 PM
#2
Re: Simultaneous Webbrowsers not working good
Only one control can have focus at a time. If your code is setting focus to a control in the page displayed in one WebBrowser then you have no choice but to wait until it's done to set focus to another control.
-
Oct 1st, 2011, 03:35 AM
#3
Thread Starter
Hyperactive Member
Re: Simultaneous Webbrowsers not working good
I don't have it in code to move focus, but do you think it automatically takes focus when for example clicking a button on the website?
-
Oct 6th, 2011, 01:48 PM
#4
PowerPoster
Re: Simultaneous Webbrowsers not working good
-
Oct 7th, 2011, 11:23 AM
#5
Thread Starter
Hyperactive Member
Re: Simultaneous Webbrowsers not working good
 Originally Posted by Techno
yes, it certainly does
Okay, too bad. Anyway to avoid it? Like multithreading or something like that?
Last edited by Cyb3rH4Xter; Oct 7th, 2011 at 11:49 AM.
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
|