forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrolAtLoc.lcdoc
More file actions
36 lines (21 loc) · 847 Bytes
/
controlAtLoc.lcdoc
File metadata and controls
36 lines (21 loc) · 847 Bytes
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
Name: controlAtLoc
Type: function
Syntax: controlAtLoc(loc)
Summary:
Introduced: 6.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
put controlAtLoc(10,10)
Example:
get the name of (controlAtLoc(the mouseLoc))
Parameters:
location: A location, relative to the current stack
Returns: The control at the given location, in the form: control control_number.
Description:
Returns the control at the specified location.
The <controlAtLoc> function returns the control at the given location. The function returns the number of the control, below are examples of getting the name or long id of the control
get the name of (contolAtLoc(<location>))
get the long id of (contolAtLoc(<location>))
References: location (property), mouseLoc (function), controlAtScreenLoc (function), control (keyword)
Tags: ui