I don't suppose you want to share the code for the List-Gadget you created?

Regards,

Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
"Neil Rhodes" <[EMAIL PROTECTED]> wrote in message
news:29890@palm-dev-forum...
>
> I have had problems with large numbers of list items in a list prior to OS
> 3.5.  It seemed to occur when the line height * number of items exceeded
> 32K.  In your case, 4000*12 is definitely greater than 32K.  I ended up
> writing my own gadget to simulate a list.
>
> I didn't track down exactly why the error was occurring, though.
>
> > I've got a listbox with a list of about 4,000 items.  For all the
listbox
> > drawing commands we use a simple callback function to simply draw items
to
> > the listbox depending on user criteria.  In Palm OS 3.5 we have a
strange
> > problem where just after the callback function is done all the listbox
> > drawing functions will randomly erase items off the listbox.  They're
still
> > marked as visible yet they don't show up on the screen.  I know that
it's
> > not the callback function as I've placed breakpoints at the end of the
> > function to watch the values dance through.  At the very end of the last
> > iteration of the callback function everything is displayed correctly on
the
> > listbox and in between the time it takes for the listbox command to
return
> > to the previous code it suddenly erases much of the items in the
listbox.
> >
> > Has anyone else had this problem?  If so, have you found acceptable
> > workarounds?  I've tried various combinations of the listbox routines
from
> > list.h and nothing seems to work.
>
> --
> Neil Rhodes
> [EMAIL PROTECTED]            Available for contract programming
> Coauthor: Palm Programming: the Developer's Guide (O'Reilly)
>
>
>



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

Reply via email to