At 12:00am -0800 00-11-16, Palm Developer Forum digest wrote:
>Subject: Re: OS 3.5, listboxes with large amounts of data
>From: "Alan Ingleby" <[EMAIL PROTECTED]>
>Date: Thu, 16 Nov 2000 13:42:57 +1100
>X-Message-Number: 65
>
>I also have a list of 20,000 items, 11 visible at once. When I use the
>LstSetTopItem function to move the list to an item between (approx) 2975 and
>5950 or 9925 to 11900, and call a LstDrawList, the list draws, the
>immediately erases itself. This only happens between alternate
>ranges...i.e.: the first 2975 items work fine, the second 2975 don't the
>third work fine, the fourth don't etc...
>
>If I use the up/down buttons on the right hand side of the listbox to scroll
>the list where it is currently invisible, it redraws OK.
>
>I originally thought the fault was with my List drawing function, but
>stepping through the screen drawing process, the screen is erased
>immediately AFTER the last line is drawn, and my function has finished...
>
>Please help, as this is a VERY annoying bug, and it's driving me crazy
>trying to work it out!
>
>By the sound of things, this seems to be a bug in the PalmOS!
Yup, it looks like a bug in LstDrawList(), when it tries to erase any
unused space following the last visible item. I can't see any good
work-around, other than using a gadget to do your own list.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/