forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-card.xml
More file actions
executable file
·67 lines (53 loc) · 2.87 KB
/
Copy pathcreate-card.xml
File metadata and controls
executable file
·67 lines (53 loc) · 2.87 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<doc>
<legacy_id>1463</legacy_id>
<name>create card</name>
<type>command</type>
<syntax>
<example>create card [<i>cardName</i>]</example>
</syntax>
<synonyms>
<synonym>new card</synonym>
</synonyms>
<summary>Makes a new <keyword tag="card">card</keyword> with the same <object tag="group">background</object>(s) as the <glossary tag="current card">current card</glossary>.</summary>
<examples>
<example>create card</example>
<example>create card "Main"</example>
<example><p>create card (field "ouput")</p></example>
</examples>
<history>
<introduced version="1.0">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<experimental version=""></experimental>
<nonexperimental version=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<classification>
<category>Objects & Messages</category>
</classification>
<references>
<command tag="create stack">create stack Command</command>
<command tag="place">place Command</command>
<command tag="clone">clone Command</command>
<command tag="create">create Command</command>
<keyword tag="templateCard">templateCard Keyword</keyword>
<message tag="newCard">newCard Message</message>
</references>
<description>Use the <b>create card</b> <glossary tag="command">command</glossary> to add a new <keyword tag="card">card</keyword> to the <glossary tag="current stack">current stack</glossary>.<p></p><p><b>Parameters:</b></p><p>The <i>cardName</i> is the <property tag="name">name</property> <glossary tag="property">property</glossary> of the new <keyword tag="card">card</keyword>. If you don't specify a <i>cardName</i>, the new <glossary tag="card">card's</glossary> name is empty.</p><p></p><p><b>Comments:</b></p><p>The new card is placed after the current card in the <b>defaultStack</b>. When the <keyword tag="card">card</keyword> is created, you go to the new <keyword tag="card">card</keyword>.</p><p></p><p>Any groups on the current card whose <b>backgroundBehavior</b> is set to true will be placed on the newly-created <keyword tag="card">card</keyword> automatically.</p><p></p><p>The <b>create card</b> <glossary tag="command">command</glossary> places the <property tag="ID">ID</property> <glossary tag="property">property</glossary> of the newly created <keyword tag="card">card</keyword> in the <keyword tag="it">it</keyword> <glossary tag="variable">variable</glossary>.</p><p></p><p></p><tip>To create a <keyword tag="card">card</keyword> in a specific <object tag="stack">stack</object>, first set the <property tag="defaultStack">defaultStack</property> to the <object tag="stack">stack</object> where you want to create the new <keyword tag="card">card</keyword>:</tip></description>
</doc>