tooltip - multiline not working

  • Thread starter Thread starter Slickuser
  • Start date Start date
S

Slickuser

Hi,

I have tried these methods but I never get a new line to show on check
box tool tip?

Any idea how to fix this? Thanks.

string strFin = string.Empty;
string str = "a b c d e f g";
string[] strArray = str.Split(' ');
for (int i = 0; i < strArray.Length; i++)
{
//strFin = strFin + "\r\n" + strArray;
strFin = strFin + Environment.NewLine + strArray;
}
checkBox1.ToolTip = strFin;
 
What OS?  Windows 2000 has a problem with multiline tooltips.
Windows XP-Pro.

These don't work either.
strFin = str.Replace(" ", Environment.NewLine);
strFin = str.Replace(" ", "\r\n");
 
Back
Top