In article <90224@palm-dev-forum>, [EMAIL PROTECTED] says... > > On Tue, Jul 02, 2002 at 11:45:51AM -0700, Sang Le wrote: > > Yes the arrows not being redrawn is the problem, the > > list actually scrolls as it should. Thank you for the > > code nevertheless. > > > > One last question, how are you setting the > > hasScrollBar > > attribute for the list? > > From a quick grep through the sources, I don't :-) > But scrolling works fine nevertheless.
The way to eliminate the scroll bars is: 1) Set the list to only include as many items as are displayed on the screen. 2) Use a custom draw function to map list indices 0 to N to X to X + N 3) Let the scroll bar control the window of items to display. Basically, you never let the list get beyond the screen size, so it never thinks it needs to show the arrows. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
