Sorry, my bad.  I haven't been into that code very far.

 

The buttonbar is listening for add events.  If the tooltip is not
assigned before the child is added, it won't see it.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of bryanpoopbartow
Sent: Monday, August 06, 2007 2:02 PM
To: [email protected]
Subject: [flexcomponents] Re: Need Help Setting Viewstack Canvas
ToolTips Dynamically

 

Alex, I thought the buttons were created from the canvases. How do I
access the buttons 
themselves?

--- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]>
wrote:
>
> Seems like you need to dive down and set the tooltip on the buttons
> themselves and not the canvas.
> 
> 
> 
> ________________________________
> 
> From: [email protected]
<mailto:flexcomponents%40yahoogroups.com> 
> [mailto:[email protected]
<mailto:flexcomponents%40yahoogroups.com> ] On Behalf Of bryanpoopbartow
> Sent: Monday, August 06, 2007 12:35 PM
> To: [email protected]
<mailto:flexcomponents%40yahoogroups.com> 
> Subject: [flexcomponents] Re: Need Help Setting Viewstack Canvas
> ToolTips Dynamically
> 
> 
> 
> Just to add to my findings, it seems as though the tooltip will show
> when I mouse over the 
> canvas itself. I was looking, however, for the tooltip to show when I
> mouse over the canvas' 
> corresponding button in the ToggleButtonBar. Again, any help would be
> greatly appreciated.
> 
> --- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> 
> <mailto:flexcomponents%40yahoogroups.com> , "bryanpoopbartow"
> <bryanbartow@> wrote:
> >
> > I'm using the Flex Popup Manager to pop up a custom TitleWindow from
> my main 
> > application. Said TitleWindow contains a ToggleButtonBar whose
> dataprovider is a 
> ViewStack 
> > containing three Canvases. I'm trying to set the ToolTips for the
> Canvases dynamically on 
> > window popup. Unfortunately, mousing over the buttons in the
> ToggleButtonBar does not 
> > trigger any tooltip at all. If I hard code the tooltip in the MXML,
it
> works exactly as it 
> should. 
> > I've inspected the app during runtime and the Canvases show the
> correct text in their 
> tooltip 
> > properties, so I know they're getting the values they need from my
> ActionScript function. 
> > Does anyone have any ideas why this might be happening? Any help
would
> be greatly 
> > appreciated.
> >
>

 

Reply via email to