Windows Forms ToolTip will not re-appear after first use

后端 未结 9 1356
借酒劲吻你
借酒劲吻你 2020-12-03 13:42

I have a Windows Forms C# application where I would like to use a tooltip on one of the text boxes. I initialize the tool-tip in the constructor of the Form class, and it wo

9条回答
  •  不知归路
    2020-12-03 14:03

    I just had the the problem on Windows 7 so I found this thread.

    In my case this did not work in tooltip_MouseEnter:

    tooltip.Active = false;
    tooltip.Active = true;
    

    So I tried the following:

    this.toolTip.SetToolTip(this.txtbx1, "tooltip-text");
    

    This worked fine for me.

提交回复
热议问题