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