"Paul Nevai" <[EMAIL PROTECTED]> wrote in message
news:5428@palm-dev-forum...
> Please tell me what event is generated after I hit the "Done" button on
the
> on-screen keyboard. Thanks! Best regards, Paul
You can easily find out for yourself. Two ways that come to mind:
1) Compile and debug your app with the emulator, bring up the keyboard, then
add a breakpoint at your call to EvtGetEvent and tap the Done button. You'll
hit the breakpoint each time an event comes in. You can look at the events
and see how each is handled.
2) Turn on event logging in the emulator, bring up the keyboard, and hit the
Done button. Open up the log file and see what events came in.
If I recall, the field gets the new text stuffed into it, so a
fldChangedEvent is probably one of the events that comes in. You probably
also get a winEnterEvent. If memory is low, the dialog may not have been
able to save the screen under it, so you'll probably also get a
frmUpdateEvent if you're running on a debug ROM. Either of the above
techniques will tell you exactly what events you get, and in what order you
get them.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html