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

Posts: 135
Registered: ‎08-27-2008
My Device: Not Specified

Vertical Scrollbar in ListField

Hello Everybody,


How to display the scrollbar in ListField such that as the number of rows increases the size of scrollbar decreases.


Thanks in advance.


BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Vertical Scrollbar in ListField

There are no APIs that allow you to control the appearance of scrollbars.  These are configured by the active theme on the BlackBerry set under Options, Theme.


To draw your own custom scrollbars requires custom painting of the entire field where you could also handle the scrolling behaviour.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker