forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundField.lcdoc
More file actions
47 lines (31 loc) · 1.1 KB
/
foundField.lcdoc
File metadata and controls
47 lines (31 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
41
42
43
44
45
46
Name: foundField
Type: function
Syntax: the foundField
Syntax: foundField
Summary:
<return|Returns> the <field> in which text was located by the most
recent <find> <command>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
the foundField
Example:
if word 2 of the foundField is the number of field 1 then findItAgain
Example:
select the text of the foundField
Returns:
The <foundField> function <return|returns> the <number> <property> of
the <field>.
Description:
Use the <foundField> <function> after a <find> command to determine
where the text was found.
The <foundField> <function> is cleared when the text <selection> moves
into the <foundField> or when the <current card> is closed. At the same
time, the box the <find> command draws around the found text disappears.
If there is no box, the <foundField> <function> <return|returns> empty.
References: find (command), function (control structure),
number (function), property (glossary), current card (glossary),
command (glossary), return (glossary), field (keyword),
selection (keyword)
Tags: database