It's very rare, but it also happens when you DON'T use FrmRemoveObject.
I've had it happen to me...I just refreshed the form or buttons every so
often, and the problem went away. I've heard of it happening within
Alerts, basic UI objects, all sorts of things (evidentally, PrvFixupPointers
is a bit pervasive...thankfully Palm is working on this problem for the
next SDK). In a dynamic gadget, make sure you refresh the window you're
putting it into every so often, if you can. (Perhaps a
WinSaveBits/WinRestoreBits or something like that, or depending upon what
you're doing, you might just want to do a FrmUpdateEvent, and just redraw
the gadget there).
-Rus
>Thanks Rustin. OK. I'm relatively new to Palm dev. I've seen the
>discussion going on with the FrmRemoveObject() quirk and
>PrvFixupPpointers. My problem started when I created some dynamic
>gadgets. I could use some guidance/reference on how to handle this
>problem.
>Thanks,Owen
>
>>This is a known bug in an internal function, PrvFixupPointers. It's
>>a real pain when it misspells one of your button labels as something
>>inappropriate.
>>
>>>
>>>After about 25 repetitions within an application, the text in my
>>>button resources becomes corrupted. Not all buttons at once, but one
>>>button after another. I suspect a memory problem. What could be
>>>causing this to occur.
>>>Thanks, Owen
>>>
>>>--
>>>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/
>
>
>--
>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/