Hello,

--- Ben Combee  wrote:
> Basically, you never let the list get beyond the
> screen size, so it 
> never thinks it needs to show the arrows.


Thanks that's a good tip.  I would like the scroll
arrows to be shown with the scroll bar actually, as is
the norm.  I think it looks odd without scroll arrows.

Since the OS won't consistently redraw them,  I think
I'll have to write that off as an OS bug/unsupported
feature in lists w/o workaround.  

I think I'm going to have to do something ugly like
redraw them manually, or use bitmap arrows, when the
scrollbar is shown. Then remove them when the number
of items on the list don't require a scroll bar :(

thanks again for the help
Sang 


--- Ben Combee  wrote:
> 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.

> 
> 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]>




__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


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

Reply via email to