On Dec 08, 2006, at 1:44 PM, Michael wrote:
Hello there,
May I ask this.
If I wish to capture a user's input into a text field AFTER the
user is done, is lostFocus the way to do this, or is there a better
way?
If they are typing into a text field and you want to take what they
just entered and put it into a different field it can be BUT be aware
that lost focus ONLY happens IF the person actually moves from one
field to another. If that action of moving to something else that can
get focus never occurs then the lost focus is only one thing you have
to cover off
For instance if this is a dialog of some sort and there is a push
button on it that closes or accepts the dialog (say like a login screen)
The user types into field 1 and then pushes the button the editfield
may not get a LostFocus event because the user never left the field
But if they moved to a second field that can get focus then the field
would generate a lost focus event
And I suspect you may find this behaves slightly differently on
Windows and OS X because the list of things that can get focus is
different
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>