On Mon, 7 Oct 2002, Ben Combee wrote:

> If you add field, modify, add field, modify, and so on, you'd have
> flcChangedEvents with potentially bad pointers, since inserting the
> later field pointer could invalidate the previous ones. 

I am setting the text of the fields I create in the same loop, which would
(I presume) have the same result.  I could just as easily move that part
into a separate loop.  Currently there's only one field being created,
though, which would suggest an event that was posted before I started that
had an old form pointer in it.  If that's the case, would it work better
to put the calls to FldNewField in the processing of the first nilEvent?
That would at least minimize any events with old pointers.

-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
No trees were harmed in the sending of this message, although many
 electrons were terribly inconvenienced.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to