Re: display "\t" in tooltip in .Net framework
From: Jay (jayan_unni_at_msn.com)
Date: 11/22/04
- Next message: balu: "Problem in developing newsreader in vb.net"
- Previous message: BC: "display "\t" in tooltip in .Net framework"
- In reply to: BC: "display "\t" in tooltip in .Net framework"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 21 Nov 2004 22:09:20 -0500
try this
toolTip1.SetToolTip(this.btnBind, string.Format("{0} \t {1}", var1,var 2));
Jay
"BC" <bcho_pa@yahoo.com> wrote in message
news:9be8391b.0411211816.2992cd95@posting.google.com...
> Hi
> I am trying to display the formated text, a table like, in the tooptip in
> C#.
> Something like this:
> Apple 4
> lime 100
>
> I put "\t" after the "Apple".
> Somehow the tab "\t" won't show in the tooltip.
> When the tooltip shown, it displayed "Apple" only in the tooltip.
>
> But I tried to display the exact text in a MessageBox, it works fine.
>
> Anyone knows how to show the "\t" in the tooptip?
>
> Thanks
> BC
- Next message: balu: "Problem in developing newsreader in vb.net"
- Previous message: BC: "display "\t" in tooltip in .Net framework"
- In reply to: BC: "display "\t" in tooltip in .Net framework"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading