Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Custom Tooltip On Image

Last post 10-16-2007 7:39 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-15-2007 9:26 PM

    Custom Tooltip On Image

    I'm using a custom class to render an image onto a table.  I want to be able to show a tooltip if the user hovers over the image.  What is the most effecient way to "hook" into the shape or model in order to get access to the mouse positioning or when the shape is hovered over?

     I looked at overriding the OnMouseMove but there is no other override to figure out when the mouse leaves the shape (thus closing my tooltip instantly)....

    Have others tried to do this and if so, what did you find to be the best way?

    Thanks,

    -jv

    • 63.239.234.201
  • 10-16-2007 7:39 PM In reply to

    Re: Custom Tooltip On Image

    The ElementLeave event is fired by the model. You could add a method called OnMouseLeave that you call from the model. This could then reset the Tooltip property.

    Filed under: ,
    • 83.245.104.38
Page 1 of 1 (2 items)