You can pass the keyDownEvent to FldHandleEvent():
fieldIndex = FrmGetObjectIndex(frmP, LookUpFieldID); fieldPtr = reinterpret_cast<FieldType*>(FrmGetObjectPtr(frmP, fieldIndex)); FldHandleEvent(fieldPtr, eventP);
Marvin Bellamy wrote:
I'm trying to make dynamic changes within my application based on each character a user enters into a text field. My application generates a keyDownEvent, but this event is created *before* the text field is actually modified. So, my subsequent query on the text field for the current field value returns the *old* value, and not the new value including the last character entered.
Is there a good way to handle this event without manually editing the text field?
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
