473,394 Members | 1,800 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.

setting tooltip text

Hi.

How do I set tooltip text for some specific text in a text box? For example, if I write

string x = "123";

Visual Studio would display (local variable x) if I hover the cursor over it.

How do you do that? I couldn't find any tutorials for this, so help would be appreciated.
Oct 1 '10 #1
1 1012
Plater
7,872 Expert 4TB
Tooltip text can be set at any time. Look at the desinger code to see how it is done.
You can probably work with the TextChanged event to examine the contents and change your tooltip text
Oct 1 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Andres | last post by:
How can i get the tooltip text of a windows file? Thanks
0
by: TF | last post by:
Hi all, I am using a ToolTip control in a VB.Net windows application. The problem is that as soon as I user a tab charactor (ControlChars.Tab) in tooltip text it truncate rest of the text after...
3
by: Mr.Tickle | last post by:
How can I get the tooltip in a generic way for any control that the mouse is hovering over in a single application, I dont want to have to code the MouseHover event handler on every form.
1
by: Piotrek Stachowicz | last post by:
Hi, Does anyone know if there is any way to display text in ToolTip as bold or italic? If so, how?! Piotrek
1
by: rejoy_j | last post by:
Hi, Is it possible to set tooltip text for a listitem in a dropdownlist(webcontrol)?.If so how?? Regards RJ ********************************************************************** Sent...
3
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the...
2
by: Scirious | last post by:
People, how can i get my tooltip text to be formatted so i can change the color of portions of the text and even use italic or bold along my text? TIA, Scirious.
0
by: =?Utf-8?B?UmljaA==?= | last post by:
I have a statusStrip on a form with some ToolStripStatusLabels - which function as Previous Record/Next Record, New Record buttons. And instead of text, I place an image on the...
2
by: vingomail | last post by:
I need a code to generate a balloon tooltip text for server controls when user has pointed mouse over on the control. I dont want to use the .net tooltip property because it shows like box tool tip....
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.