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
Developer
Posts: 809
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

HorizontalfieldManager scrolling

http://s13.postimage.org/xj6x4yxp3/Untitled.png

 

Have those 2 pics appearing, but there are 10 of it. Its inside horizontalfieldmanager, when i scroll to right the other pics appear too.What I want to do is tell the user pics exist to the right so that he scrolls!

How can I do that? Add some flash at bottom of page? but how CAN I detect if it ends of page or not?

Developer
Posts: 16,842
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: HorizontalfieldManager scrolling

you can check the preferredWidth value.
a manager can display a scrollbar with a style:
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/ui/Manager.html#HORIZONTAL_SCR...
you can also add something on your own, of course
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: HorizontalfieldManager scrolling

If you want a nice-looking scrollbar, look here for ideas:

Implementing a standard style scrollbar

 

The article is talking about vertical scrollbars, but customizing it to have a horizontal one should be easy. Don't forget to check the comments - they contain alternative implementations.

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!