[flexcoders] Re: TextArea - Limit the amount of text

2008-08-05 Thread tchredeemed
Ok, that is definitely a step in the right direction. 1 problem: After they hit that max, it doesn't allow them to go back and change old text that they already edited, because the textHeight has been reached, so it prevents them from changing (essentially setting enabled=false). Any ideas?

Re: [flexcoders] Re: TextArea - Limit the amount of text

2008-08-05 Thread Tom Chiverton
On Tuesday 05 Aug 2008, tchredeemed wrote: Any ideas? Trap the key press event, and if it's delete set a flag to prevent the preventDefault(). -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a

Re: [flexcoders] Re: TextArea - Limit the amount of text

2008-08-05 Thread Laurent Cozic
PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 5, 2008 2:57:32 PM Subject: [flexcoders] Re: TextArea - Limit the amount of text Ok, that is definitely a step in the right direction. 1 problem: After they hit that max, it doesn't allow them to go back and change old text

[flexcoders] Re: TextArea - Limit the amount of text

2008-08-05 Thread tchredeemed
Cozic Flash, Flex and Web Application development http://pogopixels.com - Original Message From: tchredeemed [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 5, 2008 2:57:32 PM Subject: [flexcoders] Re: TextArea - Limit the amount of text Ok

Re: [flexcoders] Re: TextArea - Limit the amount of text

2008-08-05 Thread Laurent Cozic
Sent: Tuesday, August 5, 2008 3:07:37 PM Subject: [flexcoders] Re: TextArea - Limit the amount of text no no, thats not the issue the issue is this a b c is a certain textHeight, whether the cursor is on the a or the c, so if they hit that textHeight, then no matter whree they put the cursor