Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I display an "&" in .NET Tooltip text?

4 views
Skip to first unread message

Mike McNamee

unread,
Jul 23, 2002, 7:05:04 PM7/23/02
to
Is there a way to prevent the .NET tooltip control from stripping an
ampersand "&" character from the text? There was a style property in VB6,
but I can find nothing similar in .NET.

Any help would be appreciated!

Thanks,

Mike


Keith Gregory

unread,
Jul 23, 2002, 7:15:22 PM7/23/02
to
try &&

keith gregory

"Mike McNamee" <michael....@boeing.com> wrote in message
news:earRD1pMCHA.2236@tkmsftngp04...

Jeff Johnson

unread,
Jul 23, 2002, 7:33:59 PM7/23/02
to

"Mike McNamee" <michael....@boeing.com> wrote in message
news:earRD1pMCHA.2236@tkmsftngp04...

> Is there a way to prevent the .NET tooltip control from stripping an


> ampersand "&" character from the text? There was a style property in VB6,
> but I can find nothing similar in .NET.

Please ask .NET questions in groups with "dotnet" or "vsnet" in their names.


Rick Rothstein

unread,
Jul 23, 2002, 7:52:07 PM7/23/02
to
Almost everybody here is using VB6 or lower. You should ask your
questions in newsgroups devoted exclusively to .NET programming. Look
for newsgroups with the word "dotnet" in their name. For the microsoft
news server, try these newsgroups...

microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb

For the news.devx.com news server, try these

vb.dotnet.discussion
vb.dotnet.technical

There are some others, but they should get you started.

Rick


"Mike McNamee" <michael....@boeing.com> wrote in message
news:earRD1pMCHA.2236@tkmsftngp04...

Mike McNamee

unread,
Jul 23, 2002, 7:54:33 PM7/23/02
to
Already tried that. I just got an underlined "&" in some cases or underlined
following character.

So I just started fooling around,and just for grins, I tried &&&, and it
worked! Very strange.

So:
& is stripped
&& acts like a single & in other places and makes an underlined
character
&&& displays an & in the tooltip!

Thanks for your response, it got me playing around again with it and finally
figured out how.

Mike


"Keith Gregory" <ke...@30thorn.fsnet.co.uk> wrote in message
news:ahko1n$qj5$1...@news5.svr.pol.co.uk...

0 new messages