Instead, you could make an array of the object ID numbers (which of course
never change) and use those to return the object index or object pointer
when necessary.
-- 
Tim Kostka
http://www.nuprograms.com


"MarkW" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Is it possible to access several objects on a form by loading their
pointers
> and/or indexes into arrays? For example:
>
> for (i=0; i<10, ++i); {
>     SetFieldText(ptrArray[i], newText, 1);
>     FrmShowObject(frmP,  indexArray[i]);
> }
>
>
> If so, any code examples I can cheat from? I searched the archive and
> knowledge base. Are there any gotchas, like for instance a pointer may
> change after a form is closed and reopened?
>
> Thanks,
> Mark
>
>
>
>



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

Reply via email to