Don't ever load the entire list. Only load those items that are currently being displayed. This way you just store the index of the top item and the currently selected item and initially display or reproduce the list very quickly.
----- Original Message ----- From: "R�gis Daniel de Oliveira" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 7:15 PM Subject: Hide/Show form without lost the Form's memory > Hy all! > > I'm developing an app that will fill a list with 3000 recs. I need to put > this list in a form, and this list will pass informations to another form, > using a global variable. But, each time that a call this form that have this > list, the list needs to be reloaded. > > Is there any way to load this list only on the first time that the form is > loaded and, after this, hide and show the form without discharging the > memory, avoiding, with this, the necessity to lose time reload all the items > again? > > Ps.: When the form is hide, i need to have access to all controls of the > back form. > > Thanks all! > > > > > > > R�gis Daniel > > > > -- > 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/
