On Thu, 21 Nov 2002 16:06:24 -0800 (PST)
Oliver <[EMAIL PROTECTED]> wrote:
>
> If you really want or have to stick with a list,
> you could view the list object as a "sliding window"
> into your record set, i.e., it only shows a portion
> of it (all starting with the same letter, 0-32767,
> whatever). You then have to somehow manage to change
> the position of that "window". One simple way could
> be to make the last entry a "more..." and if the
> user chooses that one, "fill" the list with the next
> set of records ("fill" can be through appropriate
> offset in the draw list item callback, of course).
>
The "sliding window" is the exact concept i'm planning to implement,
but without an explicit "more.." button. I would simply keep
track of the current window (actual record in the pdb) and
of the selected item (offset into the current window/record) and
automatically switch from a window to the other.
I think the list will not be used to randomly search an item,
but to browse items that are closer to the searched one.
I would like to implement some kind of search. obviously a linear
search is not an optimal solution. maybe i could keep track, for each record,
of the min and max id of the encapsulated products.
And i must also keep the whole thing sorted...
--
Alessandro Zummo,
Tower Technologies - Turin, Italy
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/