Re: event problem
- Posted by Gerardo <gebrandariz at YAHOO.COM> Aug 10, 2001
- 401 views
George, Within each of your 'capture' procedures, i.e. onLostFocus() and onKeyDown, you'll have to select only those situations which you want to trigger your routines. A few ifs might do, or maybe loop through a sequence containing the relevant data. Gerardo ----- Original Message ----- From: "George Walters" <gwalters at sc.rr.com> To: "EUforum" <EUforum at topica.com> Subject: event problem > > In order to edit/check a field that has been 'tab'ed' or 'mouse'ed' away > from I must use the onLostFocus(). Then to capture certain keys for some > other needed stuff I must use onKeyDown. The problem is that this will > result in 2 events and my routines get called twice for one apparent > movement. Is there an easy way to handle this. The result is that the data > gets edited twice and 2 error messages for invalid data pop up.. > > > ...george