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.
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.
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?
Re: Simultaneous Webbrowsers not working good
Re: Simultaneous Webbrowsers not working good
Quote:
Originally Posted by
Techno
yes, it certainly does
Okay, too bad. Anyway to avoid it? Like multithreading or something like that?