Hi,

This turned into such a hassle I had to temporarily
drop it.  Sorry to confuse.

What I meant in the last reply was that the tiny
arrows that are part of the scrollbar ( not the
separate default OS list arrows ), do not always
redraw properly.

Specifically this happens after a sclRepeatEvent in
response to which I erase list, redraw list with
custom draw function, redraw scroll.  Scrollbar will
now be shown sans its arrows.

If I do the same things, only handling the
sclExitEvent instead, it redraws properly.  

I tried hiding it before list erase, then redisplaying
it no avail.  I've tried several similar things.

This guy appears to have had the same issue though for
a different reason.
http://groups.yahoo.com/group/palm-dev-forum/message/71974

So if I only allow scrolling after the stylus has been
lifted (sclExitEvent) everything works fine.  But I
need scrolling on demand, sclRepeatEvent.

Thanks again for the reply.

best regards,
Sang



--- Marco Pantaleoni <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 04, 2002 at 12:07:16PM -0700, Sang Le
> wrote:
> > 
> > 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 :(
> 
> Maybe I've not yet understood correctly your
> point...
> The List provides its own scroll arrows (and no
> scrollbar). If you use an external ScrollBar, this
> will
> have its own scroll arrows too, so I guess you would
> like
> to avoid using the List arrows, as in Ben's
> solution.
> And if you are saying that the List arrows are not
> redrawn correctly, then avoiding them altogether and
> relying uniquely on the scrollbar could improve the
> situation.
> 
> Marco


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.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