DesktopScrollbar.LineStep

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

The amount the value changes when a scroll arrow is clicked. The default is 1.

Notes

MacOS does not show scrollbar arrows so there is no way to cause a "LineStep".

Sample Code

This example is in the Open event of the DesktopScrollbar. It sets the Minimum, Maximum, and LineStep properties.

Me.Minimum = 0
Me.Maximum = 200
Me.LineStep = 10