Come to think of it, if you always want to display a tooltip in the same position, using the ToolTipManager may not be the best option. it way be better to simply place the tooltip absolutely and then show and hide it in response to mouseOver and mouseOut events from the relevant component.
--- In [email protected], Tom Fitzpatrick <[EMAIL PROTECTED]> wrote: > > Lack-of-progress report. Your event handler suggestion works, if I use > ToolTipManager to get the x and y of the currentTarget. The problem is > that the tooltip's x and y seem to be calculated relative to the > application, rather than relative to the target. > > Hmm. > > - Tom > > n51red wrote: > > > > Interesting. > > > > One option is to set the x and y attribes of the tooltips in the > > toolTipShown event handler of the relevant component. The event handler > > might look like: > > > > event.toolTip.x = xPos; > > event.toolTip.y = yPos; > > > > Could you let me know what you come up with? > > > > Thanks, > > Nick > > > > --- In [email protected] > > <mailto:flexcoders%40yahoogroups.com>, Tom Fitzpatrick <tom@> wrote: > > > > > > Thanks, Nick. I think that would work. > > > > > > I realized, though, that a better way would be to always anchor the > > > custom tooltip in the same x and y position relative to the tooltip > > > target. That way it will stay out of the way of the pie chart. > > > > > > I'm trying to figure that out now. > > > > > > - Tom > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

