forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiosScroller.lcdoc
More file actions
46 lines (32 loc) · 1.31 KB
/
iosScroller.lcdoc
File metadata and controls
46 lines (32 loc) · 1.31 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
41
42
43
44
45
Name: iosScroller
Type: object
Syntax: iosScroller
Summary:
A native iOS control, UIScrollView, that is used as an overlay on the
part of the screen you wish to interact with the iOS scrollbars.
Introduced: 4.5.3
OS: ios
Platforms: mobile
Example:
mobileControlCreate "scroller", "name list scroller"
Example:
mobileControlCreate "scroller"
put the result into sScrollerID
mobileControlSet sScrollerID,"rect", (10,10,100,100)
mobileControlSet sScrollerID, "contentRect", (10,10,100,700)
mobileControlSet sScrollerID, "visible", "true"
Description:
An iosScroller(UIScrollView) control is created using a control type of
"scroller".
Rather than act as a container for other controls the iosScroller is
intended to be used as an overlay on the part of the screen you wish to
interact with the proper iOS scrollbars. By responding to the various
iosScroller messages, you can move LiveCode controls or set the
appropriate scroll properties of groups and fields to get a native
scrolling effect.
>*Note:* For full details of what the UIScrollViewContol is capable of,
> and background about it see the iOS reference document.
References: mobileControlDelete (command), mobileControlDo (command),
mobileControlSet (command), mobileControlCreate (command),
mobileControlGet (function), mobileControlTarget (function)
Tags: objects