On Thu, 21 Nov 2002 16:55:44 -0800 (PST)
Oliver <[EMAIL PROTECTED]> wrote:

> > 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 am leaving the list management (scrolling,
> etc.) to the OS so I am not quite sure this is
> easy to implement; what event would you use to
> decide to change your "sliding window"?

mmm... not sure. maybe keyDownEvent, but then the user
will not be able to do it with the stylus,
unless we add a scroller and use the related sclRepeatEvent.

Maybe your idea it's easier to implement.

> 
> If the records are sorted, you might be able to
> use a binary search.  I think I briefly tested 
> it with 40,000 records and it was reasonably
> fast in my case.

Ho do you keep the records sorted in an efficent way?


-- 

 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/

Reply via email to