forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfocusedObject.lcdoc
More file actions
43 lines (28 loc) · 1023 Bytes
/
focusedObject.lcdoc
File metadata and controls
43 lines (28 loc) · 1023 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
37
38
39
40
41
42
Name: focusedObject
Type: function
Syntax: the focusedObject
Syntax: focusedObject()
Summary:
<return|Returns> the currently <active control|focused control>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
the focusedObject
Example:
put the focusedObject into objectToReturnTo
Returns:
The <focusedObject> <function> <return|returns> the long <ID> <property>
of the <object(glossary)>.
Description:
Use the <focusedObject> <function> to determine which <object(glossary)>
receives any keystrokes that are typed by the user or created by the
<type> <command>.
The <focusedObject> can be any <control> on the <current card>. If no
<object(glossary)> has the <focus>, the <focusedObject> is the <current
card>.
References: focus (command), type (command), function (control structure),
object (glossary), property (glossary), current card (glossary),
command (glossary), return (glossary), active control (glossary),
control (keyword), ID (property)
Tags: ui