G
Guest
I'm trying to display formatted multi-line text in tooltips. It seems that
the newline character works fine whereas the 'tab' character is causing
problems and can't display properly.
More specifically, when I set the caption of a tooltip to something like
"Hello" + vbTab + "there", the tooltip display as "Hello" and the rest of the
string is truncated.
I've searched the web but haven't seen any solution to this. I've seen
people suggest using '\t' in C# to show tab spaces, and I guess it works in
that language (though I haven't tried it). But I'm working on a VB.NET
project now and hope I can do the same in this language.
Is there anything I can do to make the 'tab' shown in tooltips or it's
simply not supported in current version of VB.NET (2003)?
Btw, I've tried it with message boxes and the 'tab' works fine there.
Please help. Thanks.
the newline character works fine whereas the 'tab' character is causing
problems and can't display properly.
More specifically, when I set the caption of a tooltip to something like
"Hello" + vbTab + "there", the tooltip display as "Hello" and the rest of the
string is truncated.
I've searched the web but haven't seen any solution to this. I've seen
people suggest using '\t' in C# to show tab spaces, and I guess it works in
that language (though I haven't tried it). But I'm working on a VB.NET
project now and hope I can do the same in this language.
Is there anything I can do to make the 'tab' shown in tooltips or it's
simply not supported in current version of VB.NET (2003)?
Btw, I've tried it with message boxes and the 'tab' works fine there.
Please help. Thanks.