I want to have an editable number field in a table. The value is stored in the db as a Int32. I have everything set up for a field in the correct column, in my get method for the column I convert the Int32 to a string and do a MemHandleNew() and return the handle with an offset of 0. This all works fine. Trouble is I don't know how (or when) to free the handle. The save method only gets called if the value has changed so I can't free it there. I have created a global arrary that holds the MemHandles for the table fields and I free them when either the modal panel is closed (Done button is pressed, don't get a closeEvent for a modal panel) or the main form closeEvent comes through, but that seems like a real kludge. There must be a better way. What is the recommended way of doing this?
-- Andy Arhelger -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
