ToolTip on WebBrowser and RichTextBox controls

  • Thread starter Thread starter SkyHook
  • Start date Start date
S

SkyHook

I cannot seem to a get ToolTip to display for either a WebBrowser control or
a RichTextBox control.

I CAN get a ToolTip display on all the other controls on my form.

Is it possible to display ToolTips on WebBrowser and RichTextBox controls?
If so, how is it done?

TIA
 
I managed to get ToolTips showing in the RichTextBox control.

And the ToolTip ALMOST works in the WebBrowser control. The problem now is
that the ToolTip (in the WebBrowser control) will only "flash" for a
fraction of a second. And sometimes it doesn't even do that.

Any ideas?
 
I created a new form with one ToolTip (named 'TT'), one RichTextBox and
oneWebBrowser control, and then set the 'ToolTip on TT" property for both
the RTB and WB controls to the same value. When I move the mouse over the
RTB control, it shows the correct ToolTip text. When I move the mouse over
the WB control, sometimes the text will flash and sometimes nothing at all
happens.

So, I am now convinced that the ToolTip display for WebBrowser controls is
bugged.

If anyone has any data to the contrary, please let me know.
 
SkyHook said:
I created a new form with one ToolTip (named 'TT'), one RichTextBox and
oneWebBrowser control, and then set the 'ToolTip on TT" property for both
the RTB and WB controls to the same value. When I move the mouse over the
RTB control, it shows the correct ToolTip text. When I move the mouse over
the WB control, sometimes the text will flash and sometimes nothing at all
happens.

So, I am now convinced that the ToolTip display for WebBrowser controls is
bugged.

WebBrowser uses the ToolTip itself, for example <img alt="tooltip text
here">. If you want ToolTips for parts of your WebBrowser display, I guess
you'll have to embed them in the HTML... this will actually give you the
possibility of a different tip for each element in the browser instead of
just one for the whole page, but may be a pain if you didn't generate the
HTML originally.
 
Back
Top