endValue | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | scrollbar | ||||||
Summary | Specifies the value corresponding to a scrollbar's end position. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: 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. | ||||||
Tags | ui |