Home > database >  how to programmatically add line feeds within the tooltip of a .NET framework form
how to programmatically add line feeds within the tooltip of a .NET framework form

Time:11-29

I use my_tooltip.show( my_string, ... ) to popup details when user mouse hovers over point on my data chart.

How can I insert within tooltip?

CodePudding user response:

Does the tooltip escape my_string?

If not: try using <br> or \r\n line breaks.

If yes: try using System.Environment.NewLine.

This may or may not work if the string is escaped.

CodePudding user response:

Problem went away. VBCRLF now works. Don't know why it originally failed.

  • Related