i have this code
Code:
	   var message = new Ext.ux.form.MagnifiedTextArea({
				      width: 200,
				      height: 100,
				      icon: Ext.MessageBox.QUESTION,
					  fieldLabel: 'Messaggio',
               		  name: 'message',
               		  id: 'message',
				      textWidth: 200,
					  fireKey : function() {
					  length = parseInt(Ext.getCmp('message').getValue().length);
					  	alert(length);
						if (length == 0) {
						Ext.getCmp('caratteri').setValue('160');	
						//alert('ok');
						}
					  length = length +1;
					  remain = 160 - length;
					  Ext.getCmp('caratteri').setValue(remain);
					  },
				      textHeight: 100,
					  maxLengthText: 'Hai raggiunto il numero massimo di caratteri consentiti...',
			   		  maxLength: '160',
               		  labelStyle : 'font-weight:normal'
				   }
				   );
it works but the length showed after firekey is the value before a key press..

there is a event that display the value of the length after change?

thanks