Tooltip for the entire form in 2005

  • Thread starter Thread starter RickSean
  • Start date Start date
R

RickSean

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 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");
}
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top