forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidScroller.lcdoc
More file actions
41 lines (28 loc) · 1.1 KB
/
AndroidScroller.lcdoc
File metadata and controls
41 lines (28 loc) · 1.1 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
35
36
37
38
39
40
Name: AndroidScroller
Type: object
Syntax: AndroidScroller
Summary:
A native Android scroller control that is used as an overlay on the part
of the screen you wish to interact with the Android scrollbars.
Introduced: 5.5.1
OS: android
Platforms: mobile
Example:
mobileControlCreate "scroller", "name list scroller"
Example:
mobileControlCreate "scroller"
put the result into sScrollerID
mobileControlSet sScrollerID, "contentRect", (10,10,100,700)
Description:
An Android scroller control is created using a control type of
"scroller".
Rather than act as a container for other controls the AndroidScroller is
intended to be used as an overlay on the part of the screen you wish to
interact with the proper Android scrollbars. By responding to the
various AndroidScroller messages, you can move LiveCode controls or set
the appropriate scroll properties of groups and fields to get a native
scrolling effect.
References: mobileControlDelete (command), mobileControlDo (command),
mobileControlSet (command), mobileControlCreate (command),
mobileControlGet (function), mobileControlTarget (function)
Tags: objects