forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclickStack.xml
More file actions
54 lines (54 loc) · 2.68 KB
/
Copy pathclickStack.xml
File metadata and controls
54 lines (54 loc) · 2.68 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
<doc>
<legacy_id>1093</legacy_id>
<name>clickStack</name>
<type>function</type>
<syntax>
<example>the clickStack</example>
<example>clickStack()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<property tag="backdrop">backdrop Property</property>
<function tag="clickCharChunk">clickCharChunk Function</function>
<function tag="clickChunk">clickChunk Function</function>
<function tag="clickField">clickField Function</function>
<function tag="clickLine">clickLine Function</function>
<function tag="clickLoc">clickLoc Function</function>
<property tag="defaultStack">defaultStack Property</property>
<property tag="name">name Property</property>
<function tag="mouseStack">mouseStack Function</function>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> the name of the <object tag="stack">stack</object> in which the user most recently clicked the mouse.</summary>
<examples>
<example>the clickStack</example>
<example>repeat until (the short name of the clickStack is "Icon Palette")</example>
<example>if the name of the clickStack is not the defaultStack then beep</example>
</examples>
<description>
<p>Use the <b>clickStack</b> <control_st tag="function">function</control_st> to determine which window the user clicked, or, in conjunction with the <function tag="clickField">clickField</function>, <function tag="clickLine">clickLine</function>, or <function tag="clickChunk">clickChunk</function>, to determine which <keyword tag="field">field</keyword> was clicked.</p><p/><p><b>Value:</b></p><p>The <b>clickStack</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the long <property tag="name">name</property> <glossary tag="property">property</glossary> of the <object tag="stack">stack</object> that was last clicked.</p><p/><p><b>Comments:</b></p><p>If the user clicks a stack's title bar or border to bring it to the front, the value returned by the <b>clickStack</b> does not change. Only clicking in the <glossary tag="stack window">stack window's</glossary> content area changes the <b>clickStack</b> <function tag="value">value</function>.</p><p/><p>If the user clicks the backdrop, the <b>clickStack</b> <glossary tag="return">returns</glossary> empty.</p>
</description>
</doc>