The problem comes down to a simple explanation. There are several WebBrowse in the form (Windows Form). When switching the cursor from one browser to another, a blinking cursor remains in the browser. The easiest code to reproduce:
private static string html = @"<HTML><BODY contentEditable='true'/></HTML>";
public Form1()
{
InitializeComponent();
webBrowser1.DocumentText = html;
webBrowser2.DocumentText = html;
webBrowser3.DocumentText = html;
webBrowser4.DocumentText = html;
}
Click the mouse in the browser 1,2,3,4. In all four the blinking cursor will remain.
When switching back and forth repeatedly, the cursors disappear. Or if you switch from the browser to TextBox, there is no problem either. This behavior is a big hindrance in my large project. Please help me.
I want that when I sequentially enter text in browsers 1,2,3,4, - there would be no blinking cursors.