Hi
your question is not cler.

-----Original Message-----
From: cos_tan_10
Sent:  06-28-2010 14:07:03
Subject:  [flexcoders] Disable the enter key mx:TextArea

Hi all,

i try using keyUp listener and substring the text but sometimes i still can use 
the enter keyboard.

if(event.keyCode == Keyboard.ENTER){
var txt:String = (event.currentTarget as TextArea).text;
(event.currentTarget as TextArea).text=txt.substring(0,txt.length-1);
}

Can anyone help me?
thanks in advance



Reply via email to