I've got a question about how Palm forms work. According to the
documentation, "For each initialized form, you must call FrmDeleteForm to
release the form memory when you are done with the form". Yet if I look at a
sample project generated by CodeWarrior, there is no call to FrmDeleteForm.

It seems like the form is magically freeing itself - I created a sample
project that switches from the main form to another form, and the mere act
of showing the new form seemed to free the main form - which caused problems
when I tried to do a "FrmReturnToForm" to return to the main form.

When Palm frees up a form is fairly important in a current project I'm
doing, since I need to display a secondary form containing a list of items
whilst a primary form containing an active edit screen needs to remain in
memory. I can't simply switch to using a dialog form / FrmDoDialog, since I
need to fit a category pop down trigger in the title line, so it needs to be
a standard form.

Thanks.




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

Reply via email to