DesktopScrollbar.Value

From Xojo Documentation

Property (As Integer )
aDesktopScrollbar.Value = newIntegerValue
or
IntegerValue = aDesktopScrollbar.Value

New in 2021r3

Supported for all project types and targets.

The current value of the scrollbar.