Alex,

Thanks for your response.  listening for ENTER is actually the first 
thing I tried, but it doesn't work as I'd expect.  These controls are 
NOT inside a FORM (explicitly, at least;  it's inside a PANEL).  Is 
that part of the problem?  

TIA

Steve



--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Listen for the "enter" event and set focus somewhere else.  You can 
use
> focusManager.getNextFocusManagerComponent if you're not sure where 
to
> set focus.
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Steve Kellogg
> Sent: Tuesday, May 29, 2007 5:12 PM
> To: [email protected]
> Subject: [flexcoders] TextInput vs. ENTER key.
> 
>  
> 
> Hello,
> 
>  
> 
> I have a number of TextInput controls that I'm using with Validators
> (phoneNumber, email, etc).
> 
>  
> 
> It all works correctly, except that I want an ENTER (or RETURN) to 
bump
> the user out of the field (therefore triggering the validator).
> 
>  
> 
> Any ideas how to do this?  Will  RESTRICT allow me to tell 
TextInput to
> treat ENTER and RETURN the same as TAB?
> 
>  
> 
> TIA
> 
>  
> 
> Steve
>


Reply via email to