LEADTOOLS Support
General
General Questions
How to add ToolTipService on AnnPointObject?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 16, 2010 6:27:01 AM(UTC)
Groups: Registered
Posts: 10
Hi,
I have few AnnPointObjects in an AnnContainer in a silverlight 4 application. I want to be able to hover over these point objects and display a tooltip, but I can't seem to figure out how to do this?
I have tried AnnAutomation -> Container -> HitTest method on a specified point and this does return me the "AnnPointObject" that I want. But how can I add the toolTipService on this object? Is there an alternative approach? Please help...
Thanks!
#2
Posted
:
Sunday, July 18, 2010 4:24:40 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Your check using the HitTest method is correct. However, we don't have specific functions for displaying tooltips when hovering over an annotation object, so you should write the code yourself.
You can try that by using the System.Windows.Forms.ToolTip class and keep changing the tooltip text using the ToolTip.SetToolTip method.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
General
General Questions
How to add ToolTipService on AnnPointObject?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.