"Steve Mann" <[EMAIL PROTECTED]> wrote in message news:94636@palm-dev-forum... > > >Now, if the user uses the popup keyboard, no keyDownEvents seem to > >be generated. How do I determine what text was entered into the > >popup keyboard?
It depends somewhat on what you want to do, but we needed something like this and there seemed to be only two practical choices, from what we had read in the Palm OS documentation. 1. Write your own virtual keyboard, therefore you control the event loop and can do anything you want (one could argue this is not practical). -or- 2. The virtual keyboard takes your form's current field, makes it its own, takes over the event loop, and places the edited field back into your form when it's done. Armed with that bit of knowledge about how the virtual keyboard does its thing, and knowing that you can then control the field opertaed on by the virtual keyboard immediately before the virtual keyboard appears and after it's done, then you can attempt to use some logic to get the results you want (e.g., diff the before/after fields, preset the before-field and reset the after-field when it's done, etc). I think the only way to control what happens on a char-by-char basis is #1, but if you're simply looking for the end result of what the user entered while in the virtual keyboard and don't care about how it got there, then you can try #2. If you want some code snippets for #2, I can append them. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
