By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,140 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

Tooltips

P: n/a
KC
How can I create a new line in the tooltip that gets displayed? Right now my
tips appear as one long line. I want to make it a little more professional
looking.

---
Ken
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Hi Ken

Include CR/LF in the text string and it will start a new line.

HTH

Charles
"KC" <yo*@dontneed.this> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
How can I create a new line in the tooltip that gets displayed? Right now my tips appear as one long line. I want to make it a little more professional
looking.

---
Ken

Nov 20 '05 #2

P: n/a
* "KC" <yo*@dontneed.this> scripsit:
How can I create a new line in the tooltip that gets displayed? Right now my
tips appear as one long line. I want to make it a little more professional
looking.


\\\
Me.ToolTip1.SetToolTip(
Me.Button1, _
"Foo" & ControlChars.NewLine & _
"Bar" _
)
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

P: n/a
Hi Kc,

In addition from the others especially Charles

\\\
Me.ToolTip1.SetToolTip(
Me.Button1, _
"That ControlChars.NewLine & _
vbcrlf & "is Bar" _
)
///
I hope this helps?

Cor
Nov 20 '05 #4

P: n/a
????
\\\
Me.ToolTip1.SetToolTip(
Me.Button1, _
"That ControlChars.NewLine & _
vbcrlf & "is Bar" _
)
///

???? what ????
Nov 20 '05 #5

P: n/a
Cor's obviously a bit tired.... I think he meant;

\\\
Me.ToolTip1.SetToolTip( _
Me.Button1, _
"That" & ControlChars.NewLine & _
vbcrlf & "is Bar" _
)
///
____________________________
The Grim Reaper

"Telmo Sampaio" <ts******@gmail.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
????
\\\
Me.ToolTip1.SetToolTip(
Me.Button1, _
"That ControlChars.NewLine & _
vbcrlf & "is Bar" _
)
///

???? what ????

Nov 20 '05 #6

P: n/a
Yes let say I was tired I forgot the ", Herfried is always showing the
ControlChar.NewLine and I find that a lot of typing so in addition to
Charles I showed the vbcrlf.

It had to be:

Me.ToolTip1.SetToolTip( _
Me.Button1, _
"That ControlChars.NewLine" & _
vbcrlf & "is Bar" _
)

Forgetting also that *Bar* has probably not the same synonime in English as
in Dutch where it is mostly the same word however as well stands for
*barbaric*.

:-)

Cor
Nov 20 '05 #7

P: n/a
The only bar in my (English) vocabulary is the place I wish to go and
consume vast amounts of fine Danish lager :D
(And some Guinness)
__________________________________
The Grim Reaper

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Yes let say I was tired I forgot the ", Herfried is always showing the
ControlChar.NewLine and I find that a lot of typing so in addition to
Charles I showed the vbcrlf.

It had to be:

Me.ToolTip1.SetToolTip( _
Me.Button1, _
"That ControlChars.NewLine" & _
vbcrlf & "is Bar" _
)

Forgetting also that *Bar* has probably not the same synonime in English as in Dutch where it is mostly the same word however as well stands for
*barbaric*.

:-)

Cor

Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.