Hi John,

Sam's suggestion to use the ToolTipManager's createToolTip and 
destroyToolTip methods would allow you to use your custom ToolTip 
component.  But, since you would manually have to position and 
destroy the component anyway, have you considered using a popup 
instead?

-TH

--- In [email protected], John Kirby <[EMAIL PROTECTED]> wrote:
>
> Sam -
> 
> Thanks... I've looked at that.  The problem is I'm creating custom 
> components in my tooltip.  So I was trapping the create event to 
use my 
> own custom tooltip which implements IToolTip.  This worked fine.
> 
> Where I got stuck was on how to intercept the hide event.  Nothing 
I 
> tried seem to work which would allow the tooltip to continue 
showing 
> once the mouse was moved off the target.  I was trying to recreate 
the 
> tooltips used in Adobe's JamJar application.
> 
> So now my approach is to create my own class which extends 
> ToolTipManager.  I want added another method (createCustomToolTip) 
where 
> I pass the custom tooltip class and try to override some methods 
so I 
> can control when to call destroytooltip?
> 
> Not sure this is the best approach?
> 
> .j
> 
> Samuel Reuben said the following:
> > Hi J,
> >  
> > You could look into the documentation for ToolTipManager and use 
the 
> > methods (createToolTip and destroyToolTip) that are listed there 
to 
> > achieve what you are trying to do.
> >  
> > Hope this helps,
> > -sam
> >
> >  
> > On 9/16/06, *josiah_kirby* <[EMAIL PROTECTED] 
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     I'm building a custom tooltip (implements IToolTip) which 
will have
> >     components in it. Once the tooltip is shown I want to keep 
it shown
> >     until I trigger an event to hide it.
> >
> >     I have created a listener on the component for the 
tooltipHide to
> >     keep
> >     it from hiding with no luck.
> >
> >     Anyone know how keep a tooltip open until you want to 
close/hide it?
> >
> >     Thanks.
> >
> >     .j
> >
> >
> >  
> 
> -- 
> /Whether you think that you can, or that you can't, you are 
usually right./
>  - Henry Ford
>







--
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/
 


Reply via email to