Re: display "\t" in tooltip in .Net framework

From: Jay (jayan_unni_at_msn.com)
Date: 11/22/04


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



Relevant Pages

  • display " " in tooltip in .Net framework
    ... I am trying to display the formated text, a table like, in the tooptip in C#. ... 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, ...
    (microsoft.public.dotnet.academic)
  • display " " in tooltip in .Net framework
    ... I am trying to display the formated text, a table like, in the tooptip in C#. ... 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, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: display " " in tooltip in .Net framework
    ... > I am trying to display the formated text, a table like, in the tooptip in ... > But I tried to display the exact text in a MessageBox, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MessageBox.Show .. only OK button
    ... public class ScrollableMessageBox: Form { ... TextBox textbox; ... MessageBox to the "main" form - don't know how to do that. ... > button and display it using ShowDialog. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: No Records Found
    ... If the form is based on the query, you can check the RecordCount of the ... messagebox then. ... > yes matching records, i.e., were any parts on order. ... > to have a MsgBox display ...
    (microsoft.public.access.queries)

Loading