On Dec 8, 2006, at 3: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?
tks

I've found this to be surprisingly tricky to implement correctly in REALbasic. LostFocus doesn't work because it will be called, for example, when the window is deactivated. You can't do everything with KeyDown, because that won't catch a change in control focus using the mouse. About the only way I've found is to implement such a thing at the window level using GotFocus event handlers and some other ugly code.

Charles Yeomans
_______________________________________________
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>

Reply via email to