ScrollBar - Show or hide the scroll bar of arrangements, make static arrangements scrollable, enable scheduled smooth scrolling

ScrollBar
Show or hide the scroll bar of arrangements, make static arrangements scrollable, enable scheduled smooth scrolling.

EnableScrolling

Wrap an arrangement in a ScrollView to enable scrolling.


DisableScrolling

Remove ScrollView wrapping to disable scrolling.


ShowScrollBar

Show scrollbar for an arrangement.


HideScrollBar

Hide scrollbar for an arrangement.


SmoothScrolling

Set smooth scrolling for an arrangement.

  • With Smooth Scrolling = true
    Scrolling is animated and gradual.

  • With SmoothScrolling = false
    Scrolling is immediate and abrupt.


ScrollToPosition

Scroll to specific position in an arrangement. Unit as 'px' or '%'.

  • Percentage values ​​can be decimals.
    For example: 33.5

ScrollByOffset

Scroll by offset in an arrangement. Unit as 'px' or '%'.

  • Move from the current position.

ScrollDuration

Set scroll duration for smooth scrolling in milliseconds.

  • SmoothScrolling must be enabled for ScrollDuration to take effect.
  • ScrollDuration sets the duration of each scroll animation.
  • When you call ScrollToPosition or ScrollByOffset, the animation will last exactly the number of milliseconds you set.

v1.1 Feb 24, 2026.

ScrollBar.aia (13.8 KB)

joejsanz.joedevscrollbar.aix (10.3 KB)


JDK: 11
Minimum API Level: 21
Updated On: 2026-02-24T08:00:00Z

Built using: FAST-CLI v5.6.0-premium


Thanks.

6 Likes

Hi, What is offset? Are they pixels? Is there a way to scroll in percentages?
Thanks

Yes, they are in pixels


Yes, I'm making some name changes to the functions; all blocks will be updated with the same functionality and with the option to scroll in percentages.

Thanks

Update v1.1