Basic HTML in TextToolTip?

  • Thread starter Thread starter pat
  • Start date Start date
P

pat

Hi, I currently have a DataGridView which has TextToolTips bound to
certain cells. Some of the strings for the TextToolTip's are long and
have some HTML in them already like link breaks ( < br > )

Is there any way to get this data in the Tooltips to adhere to the
HTML or alternatively word wrap within the TextToolTip window?

Thanks!
 
Hi, I currently have a DataGridView which has TextToolTips bound to
certain cells. Some of the strings for the TextToolTip's are long and
have some HTML in them already like link breaks ( < br > )

Is there any way to get this data in the Tooltips to adhere to the
HTML or alternatively word wrap within the TextToolTip window?

Thanks!

No suggestions? If I'm not clear on what I am trying to accomplish, I
can re-word it.
 
No suggestions? If I'm not clear on what I am trying to accomplish, I
can re-word it.

I don't think there is a way to do this with the standard tooltip. You
could always write your own method that has an html parser and use GDI
+ to draw the rectangle and the tooltip string.

Thanks,

Seth Rowe
 
I don't think there is a way to do this with the standard tooltip. You
could always write your own method that has an html parser and use GDI
+ to draw the rectangle and the tooltip string.

Thanks,

Seth Rowe

Thanks Seth. It's a bit advanced for me at this point, but it will
give me something to work for. I appreciate the advice!
 
Back
Top