DesktopListBox.ScrollPosition

From Xojo Documentation

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

Property (As Integer )
aDesktopListBox.ScrollPosition = newIntegerValue
or
IntegerValue = aDesktopListBox.ScrollPosition

New in 2021r3

Supported for all project types and targets.

Index of the top visible row in the ListBox.

Notes

Read ScrollPosition to determine the top visible row; write to ScrollPosition to scroll the ListBox. When the scrollbar thumb is scrolled to the bottom, ScrollPosition cannot be incremented any further.