Tooltip for the entire form in 2005

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Umlja1NlYW4=?=

    #1

    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?
  • Israel

    #2
    Re: Tooltip for the entire form in 2005

    On Aug 21, 12:41 pm, RickSean <RickS...@discu ssions.microsof t.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.SetToo lTip(this, "This is my form level tool
    tip");
    foreach (Control ctrl in this.Controls)
    {
    toolTip1.SetToo lTip(ctrl, "This is my form level tool
    tip");
    }

    Comment

    • =?Utf-8?B?Umlja1NlYW4=?=

      #3
      Re: Tooltip for the entire form in 2005

      Israel,
      Where do I add the code you mentioned below?

      "Israel" wrote:
      On Aug 21, 12:41 pm, RickSean <RickS...@discu ssions.microsof t.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.SetToo lTip(this, "This is my form level tool
      tip");
      foreach (Control ctrl in this.Controls)
      {
      toolTip1.SetToo lTip(ctrl, "This is my form level tool
      tip");
      }
      >

      Comment

      • Israel

        #4
        Re: Tooltip for the entire form in 2005

        On Aug 21, 7:00 pm, RickSean <RickS...@discu ssions.microsof t.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.

        Comment

        Working...