I've investigated this further, and found a probable reason why this is happening. I still can't get it to do what I want it to though!
When you attempt to get the element currently in focus (using FrmGetActiveField), the framework is sometimes returning the incorrect item. The attached screenshot shows this better than I can describe it: the grab on the right works correctly and gives me the correct field (i.e. where the cursor is), whereas the grab on the left seems to be giving me the field containing the time - in this case "10:00". Does anyone have any ideas as to how I can get a handle on the field where the _cursor_ is, instead of where the framework thinks the focus is? Any suggestions are welcome - I'm stuck for things to try. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
focus.png
Description: PNG image
