endValue

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the endValue of <scrollbar> to <number>
Associationsscrollbar
Summary

Specifies the value corresponding to a scrollbar's end position.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the endValue of last scrollbar to 100
Values
NameTypeDescription
Value

The endValue of a scrollbar is an integer between zero and 65535. By default, the endValue property of newly created scrollbars is set to 65535.

RelatedProperty: showValue, properties, thumbSize, thumbPosition
Message: scrollbarLineInc
Keyword: scrollbar, integer
Constant: scrollbarFactor
Function: value
Glossary: scrollbar thumb, lock, property
Object: scrollbar
Description

Use the startValue and endValue properties to set the scale of the scrollbar.

If the style of the scrollbar is scale, the endValue is the value of the thumbPosition when the scrollbar thumb is all the way to the bottom (for a vertical scrollbar) or right (for a horizontal scrollbar).

If the style of the scrollbar is "scrollbar" or "progress", then when the scrollbar thumb is all the way to the end of the scrollbar, the thumbPosition is the scrollbar's endValue minus the thumbSize.

Setting the endValue to a value less than the scrollbar's thumbSize locks the scrollbar thumb to the top (or left) of the scrollbar, preventing scrolling.

Tagsui