Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
SiraP
Posts: 23
Registered: 09-04-2011
My Carrier: Developer
Accepted Solution

how to stop scrolling

Hi all

 

I've searced in many api but i can't find the solution

 

the question is, how can i force the scroll to stop scrolling? did it have any method to do that

 

if not, how can i check that scroll is already stop so that i can run another method after that

 

 

 

Thank very much

 

 

Please use plain text.
Developer
maadani
Posts: 552
Registered: 05-04-2011

Re: how to stop scrolling

Hi SiraP,

 

The first thing that has to be said is that scrolling in BlackBerry is actually moving the focus between the fields.

 

Once that said, you can either:

 

1. Use the various Focus methods (onFocus(), onUnFocus(), etc.) to realize when the scrolling is done.

 

2. Implement your own scroll bar and adjust the scrolling to your needs. You can find a good example in this link: http://supportforums.blackberry.com/t5/Java-Development/Implementing-a-standard-style-scrollbar-on-a...

 

Hope that helps,

 

E.

Please use plain text.
Contributor
SiraP
Posts: 23
Registered: 09-04-2011
My Carrier: Developer

Re: how to stop scrolling

Thanks very much : )

Please use plain text.