We're using the Tooltipmanager to add tooltips to our controls.
Is there a way to set the distance between the control and the top of the tooltip balloon ? Now the distance is too long and I want to get the balloon closer to my control.
Hello timdelma,
What settings are you using to get this behavior? I am asking because the default behavior is to show the tooltip next to the mouse cursor, so you should have written something that has overriden this behavior.
If it is easier for you, you could attach a small sample project which reproduces this behavior and I will be happy to take a look at it.
Hi Boris,
I just tried your 'UltraToolTips Basic Features'-sample and apparently this is default behaviour.
We use the Office2007-DisplayStyle instead of the default balloon-style, so we do not have the 'tip' of the balloon going towards the cursor
The tooltip appears at about a centimeter of the cursor and this is normal. And I cannot find any property to, let's say, halve this distance :-(
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
I can see the issue now. I believe that there is an approach to get around this. You could use one of the overloads of the ShowToolTip() method of the UltraToolTipManager component. Please try something like the following:
Point myPoint = ultraGrid1.PointToScreen(new Point(ultraGrid1.Location.X + ultraGrid1.Width, ultraGrid1.Location.Y)); ultraToolTipManager1.ShowToolTip(ultraGrid1, myPoint);
You could of course adjust the point. I hope that this would help in your scenario.