473,503 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tooltip - multiline not working

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";
string[] strArray = str.Split(' ');
for (int i = 0; i < strArray.Length; i++)
{
//strFin = strFin + "\r\n" + strArray[i];
strFin = strFin + Environment.NewLine + strArray[i];
}
checkBox1.ToolTip = strFin;
Oct 22 '08 #1
2 3572
What OS? Windows 2000 has a problem with multiline tooltips.

Mike.

"Slickuser" <sl*********@gmail.comwrote in message
news:74**********************************@31g2000p rz.googlegroups.com...
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";
string[] strArray = str.Split(' ');
for (int i = 0; i < strArray.Length; i++)
{
//strFin = strFin + "\r\n" + strArray[i];
strFin = strFin + Environment.NewLine + strArray[i];
}
checkBox1.ToolTip = strFin;


Oct 23 '08 #2
On Oct 22, 5:33*pm, "Michael D. Ober" <obermd.@.alum.mit.edu.nospam.>
wrote:
What OS? *Windows 2000 has a problem with multiline tooltips.
Windows XP-Pro.

These don't work either.
strFin = str.Replace(" ", Environment.NewLine);
strFin = str.Replace(" ", "\r\n");

Oct 23 '08 #3

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

Similar topics

2
2405
by: Christopher Weaver | last post by:
I've succeeded in creating multi-line ToolTips in code: ttAllToolTips.SetToolTip(this.btnNextTaskSet , "Retrieve the next\n" + Convert.ToString(TaskRecords) + " task records."); But I'm...
4
3316
by: Saber S | last post by:
How can I make a multi line tooltip when I point to a button?
6
403
by: ltt19 | last post by:
HI everyone, So, I have many buttons, and all of them must show a tooltip with the same string, except one word, that I must read this owrd from a variable. Although, the "ToolTip on x" property...
1
1793
by: Radu | last post by:
Hi. 1. OnLoad I populate a <select... html control with the doc files in some folder. 2. The user selects one of the files in the combo, and 3. In an IFRAME I show a preview of the selected...
9
24237
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....
1
1035
by: kiran01 | last post by:
Hi, Can anyone help, I want that data in datagrid should be placed in single line. Can i somehow set multiline property of datagrid to false, and i also do not want d...
2
7786
by: kirk | last post by:
I am trying to make a crafty tooltip, like the ones that popup when you hover over the tray icons for Windows Vista, such as the "battery meter", "network connectivity", "speaker volume" ...I am...
1
2040
by: =?Utf-8?B?RnJlZEM=?= | last post by:
My application uses the tooltip to display "realtime" data. When a user hovers over a control, information like temperatures and pressures are displayed in the tooltip. Using...
0
1574
Pakmarshal
by: Pakmarshal | last post by:
Hello Everyone, While working with list view control in VB 2005, I observed a behavior that the tooltip for the control is not consistent i.e. if we closely observe that when the tooltip displays...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
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
7468
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...
0
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.