473,394 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Multiline Tooltip

How can I make a multi line tooltip when I point to a button?
Nov 20 '05 #1
4 3312
Don
Me.ToolTip1.SetToolTip(Me.btnUserName, "Line 1" & vbCrLf & "Line 2")
--

Don
"Saber S parstech.net>" <soleimani<NOSPAM@> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
How can I make a multi line tooltip when I point to a button?

Nov 20 '05 #2
* "Saber S" <soleimani<NOSPAM@>parstech.net> scripsit:
How can I make a multi line tooltip when I point to a button?


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

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Don and Herfried,
Thanks for replies :)
"Saber S parstech.net>" <soleimani<NOSPAM@> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
How can I make a multi line tooltip when I point to a button?

Nov 20 '05 #4
You can't do it from a property page (afaict)
In the for load (or main) add the code just as you would initialize any
string

Example:

Me.ToolTip1.SetToolTip(me.cboProcess, _
"Line1: Multi line tooltip " & vbCrLf & _

"Line2: Multi line tooltip " & vbCrLf & _

"Line3: Multi line tooltip ")
"Saber S" <soleimani....no****@parstech.net> wrote in message
news:OA**************@TK2MSFTNGP10.phx.gbl...
Don and Herfried,
Thanks for replies :)
"Saber S parstech.net>" <soleimani<NOSPAM@> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
How can I make a multi line tooltip when I point to a button?


Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bullshark | last post by:
VS2003 1) If you don't have one, add a tooltip control to your design canvas. 2) open the properties for the control that gets the tool tip 3) type in all your text in the 'tooltip on tooltip1'...
0
by: Yves Royer | last post by:
Hi, I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object so i can set some tooltips on checkboxes etc. What...
0
by: Yves Royer | last post by:
Hi, My first post didn't show up so here's a second try. I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object...
7
by: Pieter | last post by:
Hi, I want to set the ToolTipText of a ToolStripButton (VB.NET 2005) on the MouseEnter-event. It works fine, unless I want to have a MultiLine toolTipText (with vbCrlf in it). Is there a way...
9
by: Alex | last post by:
Hi all - Read here that embedding \n's into the tooltip string during runtime should yeild multiline tooltips. However, mine is just keeping the \n's in there and showing it all on one line....
3
by: Richard Lewis Haggard | last post by:
I have a DataGridView which has a cell that is going to contain what might be a large amount of text data. The UI designed has decreed that each row will have a button that toggles the row's...
5
by: =?Utf-8?B?cGV0ZTE5Njk=?= | last post by:
I use Visual Studio 2005 and created a very simple Form with one button. I added a Tooltip for that button. It shows fine the first time I hover over that button. But if I let it disappear by the...
16
by: Charles Law | last post by:
I have to take this personally now. Tooltips have been flakey since the dawn of .NET, but to still have to put up with a disappearing tooltip in VS 2008 is getting beyond a joke. Tooltips have...
2
by: Slickuser | last post by:
Hi, I have tried these methods but I never get a new line to show on check box tool tip? Any idea how to fix this? Thanks. string strFin = string.Empty; string str = "a b c d e f g";...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.