B4J Question Is there an algorithm for scrolling an array of components?


Active Member
Licensed User

If we have an list of labels or buttons or even graphic objects horizonally across the screen -

- is there an existing example to scroll through them, if the list is larger than the screen width?

In other words, if we have 15 labels, and the screen with the current font will fit only 9 of them, can we scroll past the 9th label, so that the 10th label displays and the 1st label disappears?

I expect to have to code this. But just want to make sure there isn't some existing official way to visually scroll through a list of components.