Hello,
I have a numeric field which is intended to receive integer values, so to
prevent the user from entering a "float" type number, I catch the
"keyDownEvent" carrying "data.keyDown.char" 0x2E, which indicates the
decimal dot. I handle this in the event handler for the form containing the
field rather than at the beginning of the "ApplicationEventLoop()" after the
event is retrieved from the queue... It seems to me that handling the
keyDownEvent in the form event handler should not work, since
"FrmDispatchEvent()" comes last in the loop... It does work, however... It
works both ways - in the form event handler and in the
"ApplicationEventLoop()", so my question is: "'Is this an undocumented
feature, or something that I have missed in the documentation?" It feels
like as if "FrmDispatchEvent()" is implementing some callback functions, but
only if dealing with "keyDownEvent"s or fields... obviously the same does
not hold true for the checkboxes or buttons, since there are instances when
these are handled, but those involve "ctlSelectEvent"s anyway... any
ideas?..
Sincerely,
sasha
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/