Hi Jonathan

I made a post like this over at news.falch.net some days ago. Ben Combee
replied, let me quote

"The dynamic control code in Palm OS 4.0 and earlier is very buggy.  In
particular, you must remove controls added to a form in the opposite
order of how you added them in order to avoid memory errors.  Also,
adding controls to a form what causes the form's memory area to be
resized can cause the text labels of the controls in the form to be
corrupted."

Have you tried running your application in POSE under a 4.1 ROM? I am still
trying to find out what is working and what is not in 3.5 and 4.0, no
answers yet though.  Especially I am having trouble with popup lists, if I
make one with lstnewlist, delete it with frmremoveobject and create a new
one (same ID) I have to press the list items twice to exit the list.

/Henrik

"Jonathan Hoffman" <[EMAIL PROTECTED]> skrev i meddelandet
news:98505@palm-dev-forum...
>
> I am creating a form with dynamicly added/removed controls.  When I call
> frmRemoveObject to clean up I get a "just read from memory manager data
> structure" warning from POSE.  From gdb I gathered that the error
> originates in PrvFixupPointers.
>
> I have also figured out that the order in which I remove objects is
> important in avoiding producing the warning (decreasing index order),
> but I am still having some problems when I add different types of
> controls into the mix.
>
> I would greatly appreciate any insites.
>
> Jonathan Hoffman
> Developer
> Net Health Systems
>
>
>



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

Reply via email to