thumbPosition | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | thumbpos | ||||||
Associations | scrollbar | ||||||
Summary | Specifies the current position of a scrollbar's draggable thumb. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: scrollbar, default Property: endValue, properties, thumbSize, startValue Message: scrollbarLineInc, scrollbarBeginning Object: scrollbar Glossary: control, scrollbar thumb, property | ||||||
Description | Use the thumbPosition to move a scrollbar's draggable thumb when the content it controls is scrolled, or to check where the thumb has been dragged in order to scroll the content. The thumbPosition is the location of the top edge (for vertical scrollbars) or left edge (for horizontal scrollbars) of the scrollbar thumb, using the scale set by the scrollbar's startPosition and endPosition properties. If the style of the scrollbar is scale, the maximim thumbPosition, when the scrollbar thumb is all the way to the bottom (for a vertical scrollbar) or right (for a horizontal scrollbar), is the endValue. If the style of the scrollbar is scrollbar or progress, the maximum value of the thumbPosition is the scrollbar's endValue minus the thumbSize. | ||||||
Tags | ui |