If set up properly, the field will make room for the extra characters,
shifting the stuff after it as necessary. This is a good thing. However, one
of the requirements of the 68000 core is that 16 bit objects must be aligned
to even addresses. It is possible to use byte accesses to reconstruct an odd
aligned 16 bit quantity, but this requires extra code, code that the
compiler will not generate for you. So, rearrange your record structure to
put all fixed length objects at the start, and make sure the 16 and 32 bit
objects are aligned to even addresses, adding padding, or reordering them as
necessary.
The field provides a normal edit environment that inserts characters at the
insertion point. There is no overwrite mode, as old DOS and 8-bit editors
used to have. Of course, you can handle keyDownEvents to try to create an
overwrite mode, but I don't see any easy way to do it. Remember that the
user can pop up a keyboard dialog box and enter text there. This text is
given to your field all at once, with no chance to intervene on a character
by character basis.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/