"Vikas Varshney" <[EMAIL PROTECTED]> wrote in message
news:14692@palm-dev-forum...
> 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.
You could remove the 2nd one, and then remove the 3rd one (was 4th, but you
compensate for the previous deletion).
Or you could remove by ID:
FrmRemoveObject(&formP, FrmGetObjectIndex(formP, <index>));
This will work no matter what order you remove the objects in.
--
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/