That's true . It takes the object index but the problem here is that if I
have 4 objects in a form and I want to remove the 2nd one first and then 4th
one, I am screwd. I am not sure how to tackle the issue.
----- Original Message -----
From: Danny Epstein <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 3:54 PM
Subject: Re: FrmRemoveObject problem !!
> "Vikas Varshney" <[EMAIL PROTECTED]> wrote in message
> news:14683@palm-dev-forum...
> > It only
> > alows (without any error/ warning) to remove the objects, if they are
> being
> > removed in the decending order of their IDs (in case of multiple
> objects).
>
> FrmRemoveObject takes an index rather than an ID, so you can either remove
> them in reverse order, or you can convert each ID to an index just prior
to
> calling FrmRemoveObject. This is the usual problem of modifying a
collection
> as you iterate over it.
> --
> Danny Epstein
> OS Engineer, Palm Inc.
>
>
> --
> 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/