Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make a tooltip point at a specific label in C#?

In my application I want to use a tooltip to point at a label to get the users attention:

toolTip.IsBalloon = true;
toolTip.Show("message", label1);

The problem is that the balloon isn't pointing at the specified label. What should I do?

like image 369
Muhammad Ali Dildar Avatar asked Dec 21 '22 08:12

Muhammad Ali Dildar


1 Answers

This is a known bug.

Try calling it twice for a hack work-around:

toolTip.Show(string.Empty, label1, 0);
toolTip.Show("message", label1);
like image 198
LarsTech Avatar answered Dec 24 '22 00:12

LarsTech