Brian, Thanks, appreciate the help.
Ron ----- Original Message ----- From: "Brian Smith" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 9:46 AM Subject: Re: Change Event > On Fri, 8 Mar 2002, Pascal Levy wrote: > > > I dont't think something like that exists, but you can catch the > > keyDownEvent in your form handler, get the field that as the focus at > > this time using FrmGetFocus, and suppose that this field has changed. > > I've run into this problem, too, and fixed it. When you catch the keyDown > event, you get it before the field does so the field hasn't changed yet. > What I ended up doing was setting a flag, and then looking for that flag > in my event loop before handing off the current event to be processed so I > could do whatever I needed to do if a field had changed. > > Of course, you'll need to specify a timeout for EvtGetEvent so you'll get > nil events when nothing's happening. if you don't do that, your app won't > act on a field change until the next event that comes down after the > keyDown :-) > > ----------------------------------------------------------------------- > Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ > Software Developer // Gamer // Webmaster // System Administrator > Seminars, n.: From "semi" and "arse", hence, any half-assed discussion. > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
