forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscrollbar.lcdoc
More file actions
34 lines (19 loc) · 1.42 KB
/
Copy pathscrollbar.lcdoc
File metadata and controls
34 lines (19 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Name: scrollbar
Type: object
Syntax: scrollbar
Summary: A <control> that indicates a position or setting.
Synonyms: sb
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
set the style of scrollbar "Progress" to progress
Example:
if the thumbPosition of scrollbar "Level" > 400 then doOverflow
Description:
Use the <scrollbar> <object type> to display the current level or the progress of a task, or to let the user set a level or amount.
A scrollbar can be displayed as a standard scroll bar, a progress bar, or a sliding control, depending on the setting of the scrollbar's style <property>. <scrollbar|Scrollbars> can be vertical or horizontal, depending on whether their <height> or <width> is greater.
A scrollbar is contained in a card, group, or background. Scrollbars cannot contain other objects.
The scrollbar object has a number of properties and messages associated with it. To see a list of messages that can be sent to a scrollbar as a result of user actions or internal LiveCode events, open the "LiveCode Language Dictionary" page of the main Documentation window, ensure that the scrollbar column is visible and use sort and filter to bring the relevant entries to the top
References: templateScrollbar (keyword), control (keyword), height (property), width (property), scrollbarDrag (message), scrollbar (object), property (glossary), object type (glossary)
Tags: objects