I totally agree with you and infact I am planning to do so. But my concern is If I have  some code, like assigning value to dirtyFlag, in change event then that code will be executed several times – if I am enter a text of 150 char then that assignment code will be executed 150 time. Which is a over load on system. Don’t you agree with me???

 

Thanks!
Hari

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Monday, November 28, 2005 4:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput control

 

There is no such event.  You'll need to create your own dirtyFlag that gets set to true when the change occurs, and have focusOut inspect if the dirtyFlag is true, and if so, fire your new "changed and focus out" event.

 

----- Original Message -----

Sent: Monday, November 28, 2005 3:54 PM

Subject: RE: [flexcoders] TextInput control

 

If I use focus – this event fire irrespective of whether content is modified or not. I don’t want this to happen. I want an event which should fire up only if content changed and tab out.

 

Thanks!
Hari

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Monday, November 28, 2005 3:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput control

 

focusOut

 

----- Original Message -----

Sent: Monday, November 28, 2005 3:42 PM

Subject: [flexcoders] TextInput control

 

Hi,

            Can some one suggest me which event is the best event to handle a situation like -   user changes the content of textinput and tabs out of it ? I tried “change” event and found that this event is firing for each change, meaning for every key board press while entering text in it. I don’t want this. What I am looking for is an event which fires only one time when user changes existing content and tabs out.

 

Thanks!
Hari

 

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to