Thank you...that did it.

I added the same thing for the statusTextField, and it works perfect.

Thanks again.

--- In [email protected], "Tim Hoff" <timh...@...> wrote:
>
> 
> Hi, the text field is on top of the titleBar.  Try this:
> 
> package controls
> {
> import mx.containers.Panel;
> 
> 
> 
> public class MyPanel extends Panel
> {
>       override protected function createChildren():void
>       {
>            super.createChildren();
> 
>            titleBar.buttonMode = true;
>            titleBar.useHandCursor = true;
>            titleTextField.mouseEnabled = false;
>       }
> }
> }
> -TH
> 
> --- In [email protected], "gmoniey22" <gmoniey22@> wrote:
> >
> > No luck. I kept buttonMode = true & useHandCursor = true, while
> toggling between ALL combinations of mouseEnabled & mouseChildren.
> >
> > I get the same results. only a hand cursor around the borders.
> >
> > --- In [email protected], Alex Harui aharui@ wrote:
> > >
> > > Try twiddling mouseEnabled as well.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: [email protected] [mailto:[email protected]]
> On Behalf Of gmoniey22
> > > Sent: Tuesday, March 31, 2009 3:28 PM
> > > To: [email protected]
> > > Subject: [flexcoders] cant get the hand cursor to show up on the
> titleBar of the Panel
> > >
> > >
> > > I am extending the Panel class, and I want the hand cursor to show
> up when the mouse if over the titleBar. I tried something such as:
> > >
> > > this.titleBar.useHandCursor = true;
> > > this.titleBar.buttonMode = true;
> > > this.titleBar.mouseChildren = false;
> > >
> > > And variations of each above, but nothing seems to work. I get a
> mouse cursor around the borders of the titleBar, but not within it. It
> seems that the contents of the titleBar (titleTextField,
> statusTextField, etc) are overriding my code.
> > >
> > > On way it to have mouse_over & mouse_events fire, and use the
> cursorManager to set the hand cursor, but that would require me to embed
> a custom hand cursor (I cant find a reference to flex's)
> > >
> > > Anyone have any suggestions?
> > >
> >
>


Reply via email to