473,405 Members | 2,272 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,405 software developers and data experts.

Tooltip for the entire form in 2005

I have a form with many text boxes; how do I implement Tool Tip for all text
boxes withour using MouseHover method for each individual textbox?
Aug 21 '08 #1
3 1142
On Aug 21, 12:41*pm, RickSean <RickS...@discussions.microsoft.com>
wrote:
I have a form with many text boxes; how do I implement Tool Tip for all text
boxes withour using MouseHover method for each individual textbox?
I would just set the tooltip for all controls on the form like:
toolTip1.SetToolTip(this, "This is my form level tool
tip");
foreach (Control ctrl in this.Controls)
{
toolTip1.SetToolTip(ctrl, "This is my form level tool
tip");
}
Aug 21 '08 #2
Israel,
Where do I add the code you mentioned below?

"Israel" wrote:
On Aug 21, 12:41 pm, RickSean <RickS...@discussions.microsoft.com>
wrote:
I have a form with many text boxes; how do I implement Tool Tip for all text
boxes withour using MouseHover method for each individual textbox?

I would just set the tooltip for all controls on the form like:
toolTip1.SetToolTip(this, "This is my form level tool
tip");
foreach (Control ctrl in this.Controls)
{
toolTip1.SetToolTip(ctrl, "This is my form level tool
tip");
}
Aug 21 '08 #3
On Aug 21, 7:00*pm, RickSean <RickS...@discussions.microsoft.com>
wrote:
Israel,
Where do I add the code you mentioned below?
If you want the tooltip, for the form, to change based on the text
entered in the text box then why not just run that code upon each text
changed or lost focus event - depending on whether you want to update
it for each change or only after they leave the field.
Aug 22 '08 #4

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

Similar topics

3
by: marcbinaus | last post by:
Hi, I have 3 textboxes A B C The user can only enter single digit numbers in the textboxes, and if they hover over a blank textbox it would give them the options through a tooltip of what...
0
by: Sam Sungshik Kong | last post by:
Hello! I have a form with a button, a label, a toolTip and a notifyIcon. I set the "ToolTip on toolTip1" of the label. For the button click: private void button1_Click(object sender,...
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...
8
by: Rachel Suddeth | last post by:
I have an application where some forms have many (say 100) UserControls on them (each of which contain a label, an image, and a data entry control), and each UserControl has a ToolTip provider...
4
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves,...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...
0
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,...
0
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...

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.