Looking at the PalmOS source code, it does free "dynamic" UI elements. Other
than field memory, all memory in a form exists within one allocated handle.
When you add elements, that handle is resized. When you delete the form, the
single handle is freed (after any field memory is freed.)
OS Source -- a wonderful thing ;)
- John Schettino
Palm OS Programming for Dummies: http://schettino.tripod.com
-----Original Message-----
From: Magn�s ��r Torfason [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 4:16 AM
To: Palm Developer Forum
Subject: Freeing memory after dynamically creating form objects
Hi,
I am working on a Palm project making extensive use of dynamic components. I
am wondering if it is sufficient to use FrmDeleteForm to release any memory
occupied by dynamically created form objects (controls and fields) orwhether
I need some special consideration in doing so e.g. using FrmRemoveObject
etc.
I know from the Reference that FrmDeleteForm releases all resources for
components created with Constructor, so the question is specific to
DYNAMICALLY allocated components on form. On this matter the Reference was
not as clear (as usual, when dealing with dynamic stuff :)
Regards,
Magnus Torfason
--
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/