[flexcoders] Arrows for TabNavigator

2010-03-19 Thread Christophe
Hello, 

How to cancel the left and right arrow event for a TabNavigator ? 

Thank you,
Christophe,



Re: [flexcoders] Arrows for TabNavigator

2010-03-19 Thread Jake Churchill
Add an event listener for the keyDown event and do event.preventDefault();
event.stopPropagation(); event.stopImmediatePropagation();.  That should
take care of it as long as you catch it before it gets anywhere.  If that
doesn't work, you'll need to extend tabNavigator in a custom component and
manage the events there.  According to the source, if you capture override
the keyDownHandler() method, you should be able to accomplish this.

-Jake

On Fri, Mar 19, 2010 at 12:15 PM, Christophe
wrote:

>
>
> Hello,
>
> How to cancel the left and right arrow event for a TabNavigator ?
>
> Thank you,
> Christophe,
>
>  
>