none
tooltip RRS feed

  • 问题

  • if,

    "_toolTip.SetToolTip(TextboxControl, Unit.ToString());" is invoked twice(the second time, Unit.ToString() = "MiliFeet"), I'll get this:

    however, the first one should be covered by the later one, what should i do?

    I tried "_toolTip.RemoveAll()" before settooltip. it doesn't work.

    Thank you~

    2011年10月19日 12:10

答案

  • Hi ocean,

    How could this be?
    I tested with the following code, the situation of overlapped tooltips won't show up.
                // Set up the ToolTip text for the TextBox
                toolTip1.SetToolTip(textBox1, "Long ToolTip1");
                toolTip1.SetToolTip(textBox1, "ToolTip2");
    So could you show your complete code for us to reproduce your issue?
    And what is your developing environment(IDE, OS)?

    Generally you can recreate your form to see if this problem still exists, this is a general method which will take effect in most cases.

    BTW, this is the MSDN Chinese Forum, I am not sure if your thread is moved from the English Windows Azure Forum, if not could you write your posts in Chinese?
    Thanks for your understanding.

    Have a nice day,


    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    2011年10月24日 2:46
    版主