John,
When I try to do that I am still getting the same error. I found the bug
you were talking about with the FldFreeMemory, so all calls to that
function are bracketed with a FldSetSelection( pField, 0, 0 ). This call
fails on my system, unless the field is read only, in which case the call
to FldSetAttributes fails (to make the field usable before changing the
contents). I am wondering if this is the debug rom under the simulator
that is reporting a bogus error. It sure paints the screen strange colors.
If my program really looked like that on a Palm IIIc I think I would feel
a little queasy.
Oliver
At 01:33 PM 8/4/00 -0700, you wrote:
>If you're changing the memory associated with a field (via FldFreeMemory())
>it does not update the selection. Just set the selection to none via:
> FldSetSelection (fldP, 0, 0); // select none
>before you free or change the field's associated memory.
>
>- John Schettino
>Palm OS Programming for Dummies -- http://schettino.tripod.com
>
>-----Original Message-----
>From: Oliver King-Smith [mailto:[EMAIL PROTECTED]]
>Sent: Friday, August 04, 2000 1:10 PM
>To: Palm Developer Forum
>Subject: Field.c line 132
>
>
>When I try to run under the simulator on CW 6.0 (which uses the debug roms)
>I keep getting errors in Field.c line 132 Invalid Insertion Point Position.
> I seem to be doing this all over the place. Does any one know what causes
>this?
>
>Oliver
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/