WebScrollbar.Value

From Xojo Documentation

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

Supported for all project types and targets.

Gets or sets the current value of the scrollbar.

Notes

When the value is changed, the ValueChanged event handler is called.

Example

Set the scrollbar to the center:

Scrollbar1.Value = (Scrollbar1.Maximum - Scrollbar1.Minimum) \ 2

See Also

WebScrollbar.ValueChanged