Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 15
Registered: ‎05-16-2011
My Device: Blackberry 8900
My Carrier: IND Telkomsel
Accepted Solution

Create Custom Scrollbar

Is anybody know how to create a custom Scrollbar?

 

New Contributor
Posts: 2
Registered: ‎06-07-2011
My Device: 9800
My Carrier: Software developer

Re: Create Custom Scrollbar

I am not clear about  what type of sroll you want.

 

you can try this one.

 

We have to create a class which extends Horizontalfield manager.In this class we have to override the navigationMovement , movefocus and the fieldChangeNotify functions to get the scroll bar.

 

Add the required fields to the to  this class object. Here we will get the horizontal scroll bar.

 

 

Contributor
Posts: 15
Registered: ‎05-16-2011
My Device: Blackberry 8900
My Carrier: IND Telkomsel

Re: Create Custom Scrollbar

I want to custom the vertical scrollbar..

So I have to extends VerticalFieldManager, rite?

 

Do you have any code example?

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Create Custom Scrollbar

It helps to search!  I typed Scrollbar in the Search box and this is the first link.

 

http://supportforums.blackberry.com/t5/Java-Development/Implementing-a-standard-style-scrollbar-on-a...

Contributor
Posts: 15
Registered: ‎05-16-2011
My Device: Blackberry 8900
My Carrier: IND Telkomsel

Re: Create Custom Scrollbar

thanks guys Smiley Very Happy

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Create Custom Scrollbar

If you think this will answer your question, can you mark this as solved?  Thanks.

 

There is a Help link at the top if you don't know how to do this. 

Highlighted
Contributor
Posts: 15
Registered: ‎05-16-2011
My Device: Blackberry 8900
My Carrier: IND Telkomsel

Re: Create Custom Scrollbar

Done.. Smiley Wink

New Contributor
Posts: 3
Registered: ‎11-22-2011
My Device: Simulator
My Carrier: None

Re: Create Custom Scrollbar

kudos........