> Fields start up with no handle at all. So there is nothing to free if you
> install your own handle at the beginning.
>
> But if you don't initially install your own handle in a field, and the user
> starts entering text into it, then the field will automatically allocate
> itself a buffer on the dynamic heap. If you then later want to install your
> own handle, you are responsible for freeing that previous one.
in otherwords, allocate your own handle to it BEFORE the form is
available to the user (ie: in frmOpenEvent) :P this way you wont
have to ever worry about the memory handle.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html