Jennifer Fell wrote:
Well, I found the following suggestions for the problems that occur when removing objects using FrmRemoveObject function.
- Removing them in the reverse order they have been added (LIFO sequence).
- If an object has to be removed from the middle, then that should be hidden first using FrmHideObject and then the FrmRemoveObject function should be applied.


These suggestions really worked for me, but only for the Simulator with OS 5.3. I tried them on the Emulator with OS 4.1.2 and on a Tungsten T3 PDA; they didn't work.
For while I'm creating only labels dynamically, and it's working fine. Thanks for your advice, I'll certainly remember your pain before playing with dynamic objects again.
I imagine that you are tired of doing strange tests, but... I saw that you're removing first the list and then the popup. I'd try to remove first the popup and then the list. The popup may have some pointer referencing to the list object internally, while the list probably doesn't know about the popup. Who knows what happens in the OS layer when you call FrmRemoveObject... just another shot in the dark.


        Luciano Stertz

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to