c# - Why does the ToolTip not display in the WebBrowser control? -
I have assigned the You use the attribute for example: When you hover the mouse over it, WebBrowser control will automatically display your tooltips. ToolTip to
WebBrowser control, but Tool tip is not showing.
// Create tooltip and associate with form container. Tooltip tooltip 2 = new tooltip (); // Set the delay for ToolTip ToolTip2.AutoPopDelay = 5000; ToolTip2.InitialDelay = 3000; ToolTip2.ReshowDelay = 500; // Show the tooltip text, whether the form is active or not. ToolTip2.ShowAlways = True; Set tooltip text for // button and checkbox ToolTip2.SetToolTip (this.WebBrowser1, "My web browser"); Tooltip that you want to display must be part of your HTML page.
& lt; P & gt; & Lt; Abbr title = "world health organization" & gt; WHO & lt; / Abbr & gt; Was established in 1948. & Lt; / P & gt; & Lt; A title = "click me" href = "http: // blah" target = "_self" & gt; I'm a link & lt; / A & gt;
Comments
Post a Comment