The form that I am using is the active form, but I thought the same as you
and tried to use FrmGetFormPtr, but only got the same results. There are
other lists on this form and I seem to have no trouble using them it is just
this one. In fact if I run the debugger and manually change the memory for
the object index everything works fine. I could hard code that in but would
probably hurt me in the long run when I change some things around.
Thanks,
Kristopher Keller
Data Collections Unlimited
[EMAIL PROTECTED]
----- Original Message -----
From: Dave Johnson <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, July 20, 2000 5:17 PM
Subject: Re: Object not in Form
> DCU wrote:
>
> > The code that
> >I am using to get the ptr to the list is the following:
> >
> >frmP = FrmGetActiveForm();
> Are you positive that the form you want is the active form when you make
> this call? To be safe, you might want to do this instead:
>
> frmP = FrmGetFormPtr( formID );
>
> where formID is the ID of the form that contains the list.
>
> Dave Johnson
>
> --
> 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/