At 19:07 2002-10-7 -0400, you wrote: >On Mon, 7 Oct 2002, Ben Combee wrote: > > > How are you setting your field text? If you use FldGetTextPtr or > > FldGetTextHandle, you're OK, as no messages should be posted. There > > aren't too many other field events that could go wrong. > >I'm using FldSetTextHandle, and FldGetTextHandle to clean up anything that >would otherwise be orphaned (though there shouldn't be anything with a >newly created field). How would you set text with the latter, by resizing >the handle and copying text to it? That still wouldn't explain the >problem existing with only one field being created. > > > BTW, have you tried this on a 4.1 ROM? I remember there being a few > > more dynamic form problems fixed in that OS version. > >Not yet. Are these problems existing before 4.0? I haven't tested with >any older debug ROMs yet, which is why I'm asking.
There are definitely dynamic control creation problems on Palm OS 3.5 and earlier... among other things, the code that resizes a form's storage can corrupt pointers. Search the archives for "PrvFixupPtrs" or "PrvFixupPointers" to read all the discussion of this. 3.5.3 and 4.0 fixed the major problem, but the bug fix list for 4.1 mentioned the dynamic control routines. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
