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.

I am stuck with this problem (and trying different approaches) for more than a month, but could not come up with any reliable solution! So, unless this is not a must-to-do thing, I would suggest to avoid creating dynamic objects. Using FrmRemoveObject is nothing but a gamble.

Regards,
Jenni

----- Original Message ----- From: "Luciano Stertz" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, October 25, 2004 6:38 PM
Subject: Re: problems with FrmRemoveObject



Ben Combee wrote:

At 03:08 PM 10/25/2004, you wrote:

Here is a piece of code which gets executed when removing a object that has a number of popup lists. These lists are dynamically created in that object's constructor function. Anyway, this FrmRemoveObject crashes in some specific situations. I know it's impossible to tell what's going on without looking at the codes, but still I wonder if anybody can guess what could possibly cause this problem. FYI,


On what OS are you testing? Are you removing objects in the opposite order in which they are being created? The whole dynamic form code didn't work very well on OS versions before 5.0.

Is it documented somewhere? I'm doing a program using dynamic objects and would like to know what can go wrong... may save some time in the future.


   Thanks,
   Luciano Stertz


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



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

Reply via email to