开发者

How to find tooltip control

How do I find a tooltip control for 开发者_运维问答any control in Winform with C#?


Did you try to use the following :

string text = toolTip1.GetToolTip(yourControl);

This gives you the text on the tooltip for that control.

You can set the text of a certain tooltip for your control like this:

toolTip2.SetToolTip(yourControl, "My tooltip text");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜