On Tue, Jul 02, 2002 at 07:52:30AM -0700, Steve Mann wrote:
> >The OS scrolls a List for you; no code is needed.
> 
> Using scroll arrows, not a scroll bar.
> 
> A few months ago I did some preliminary investigation into using a 
> scroll bar with a list. From what I can remember, I ran into similar 
> problems and couldn't figure out a way to get a scroll bar working 
> with a list without a _lot_ of extra work on my part. It wasn't worth 
> the effort, so I went with the standard scroll arrows instead.
> 
> Perhaps someone else out there has had better luck.
> 
> Regards,
> Steve Mann

There is nothing special to do actually, just handle the sclRepeatEvent
and use LstScrollList() to scroll the List. You'll also have to update
the scroller using SclSetScrollBar().
I suppose you could easily adapt any existing scroller example to a List.

HTH,
Marco

-- 
========================================================================
Marco Pantaleoni                                  [EMAIL PROTECTED]
Padova, Italy                                              [EMAIL PROTECTED]
elastiC language developer                   http://www.elasticworld.org


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

Reply via email to