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???
-----Original
Message-----
From:
[email protected]
[mailto:[email protected]] On
Behalf
Of JesterXL
Sent: Monday, November
28, 2005
4:09 PM
To:
[email protected]
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.
-----Original
Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf
Of JesterXL
Sent: Monday, November
28, 2005
3:49 PM
To:
[email protected]
Subject: Re:
[flexcoders]
TextInput control
-----
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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/184 - Release Date: 11/27/2005