Hays, Jonathan (GE Infrastructure) wrote / skrev:
I believe that when you call FrmInitForm, if the cell is a
textItemType, the system will allocate an empty string. In
that case, when you point the cell to your custom text,
you need to make sure that the old text handle is freed.
You can
Hays, Jonathan (GE Infrastructure) wrote / skrev:
Not sure if this is it, but when you call FldSetText, the previous
handle that was allocated doesn't get freed. You can call
FldGetTextHandle to the the old handle and then free it after
you have set the new one with FldSetText.
Thanks for
]
[mailto:[EMAIL PROTECTED] Behalf Of Veronica
Loell
Sent: Tuesday, October 05, 2004 12:42 AM
To: Palm Developer Forum
Subject: Re: Memory leak, table - SelectTextItem, AllocateLines
Hays, Jonathan (GE Infrastructure) wrote / skrev:
Not sure if this is it, but when you call FldSetText, the previous
I have a table on a form that never gets edited directly, it does
however contain textItems loaded with a LoadDataProcedure. The memory
for the text in the fields in the table are initiated with
MemHandleNew() when the form is opened and disposed of when the form is
closed. Whenever I do a select
Not sure if this is it, but when you call FldSetText, the previous handle that was
allocated doesn't get freed. You can call FldGetTextHandle to the the old handle and
then free it after you have set the new one with FldSetText.
-Jon
---
Jonathan Hays