In <62385@palm-dev-forum>, Danny Epstein wrote:
>> Can someone please clarify the FrmRemoveObject issue a little? Which
>> OS versions are known to have a buggy implementation?
>
> The PrvFixupPointers bugs came into existence when the various dynamic
> UI functions were added to Palm OS in version 3.0. It was fixed in
> Palm OS 4.0. Then an update was released to provide the fix to devices
> running Palm OS 3.5. This update is version 3.5.3. So applications can
> rely on correct behavior in OS versions greater than or equal to
> 3.5.3. --
> Danny @ Palm
Danny,
It seems that there are still bugs in the PalmOS 3.5.3 and 4.0
implementations of FrmRemoveObject().
One certain bug is that FrmRemoveObject does not check the focus. Thus
after removing a field, the focus may be invalid and e.g. any keyDown
event will cause a crash (actually the OS complains that the font is
invalid). This should be a trivial fix.
Another problem that commonly crops up (apparently related to the
earlier PrvFixupPointers and current PrvRewireForm functions) is when
there is a dynamically created list object in the form and
LstSetListChoices() has been used to set the contents. Then when a few
objects have been removed, PrvRewireForm apparently tries to access a
random pointer, commonly causing a bus error. We haven't pinpointed this
problem yet.
I was looking forward to getting the FrmRemoveObject problems
double-checked at PalmSource 2001, but since the conference was
postponed we'll have to find a different way to get it fixed.
--Martin
Martin von Weissenberg +358-400-314159 www.handwise.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/