I don't see a hasScrollBar attribute in Constructor.  Will we get in
trouble in the next version of the OS if we set that attribute, or is
there a "legal" function call to do that?

-----Original Message-----
From: Neil Rhodes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:13 AM
To: Palm Developer Forum
Subject: Re: scroll event for list control


on 6/20/01 3:08 PM, Essell at [EMAIL PROTECTED] wrote:
> is there any way i can catch scroll bar events for a list control ? I
> haven't added a scroll bar to the control .. i'm talking about the
default
> scroll bar that appears when the number of  list items is more than
the
> number of visible list items. How do i catch the scrolling events for
such a
> list ? Can someone pls tell me how this is done ?

First, it isn't a scrollbar that appears in a list; it's scroll arrows.

No, you don't get any events when these arrows are tapped. If you don't
like
what's happening, you can set the hasScrollBar attribute of the list to
true, and then it won't do its scroll arrow thing. You're then
responsible
for scrolling, which you can do with a scrollbar.

Neil
-- 
Neil Rhodes     
[EMAIL PROTECTED]            Available for contract programming
Coauthor: Palm Programming: the Developer's Guide (O'Reilly)



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

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

Reply via email to