<doc>
  <legacy_id>1265</legacy_id>
  <name>closeBox</name>
  <type>property</type>
  <syntax>
    <example>set the closeBox of <i>stack</i> to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Windows &amp; Dialog Boxes</category>
  </classification>
  <references>
    <message tag="closeStack">closeStack Message</message>
    <property tag="minimizeBox">minimizeBox Property</property>
    <property tag="decorations">decorations Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
    <changed version="2.1"></changed>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>
    <p>Shows a window's <glossary tag="close box">close box</glossary>.</p>
  </summary>
  <examples>
    <example>set the closeBox of this stack to false</example>
  </examples>
  <description>
    <p>Use the <b>closeBox</b> property to display the close box in a window's title bar.</p><p/><p><b>Value:</b></p><p>The <b>closeBox</b> <glossary tag="property">property</glossary> of a <object tag="stack">stack</object> is true or false. By <keyword tag="default">default</keyword>, the <b>closeBox</b> of a newly created <object tag="stack">stack</object> is set to true.</p><p/><p><b>Comments:</b></p><p>The setting of this property affects the <b>decorations</b> property, and vice versa. Setting a stack's <b>closeBox</b> property determines whether its <b>decorations</b> property includes "close" (or is "default", for window styles that normally include a close box). Conversely, setting a stack's <b>decorations</b> property sets its <b>closeBox</b> to true or false depending on whether the <b>decorations</b> includes "close" (or is "default").</p><p/><p><b>Note:</b> On OS X systems, if the <b>closeBox</b> property is false, the close box is disabled rather than hidden.</p><p/><p>Setting the <b>closeBox</b> <glossary tag="property">property</glossary> causes the <glossary tag="stack window">stack window</glossary> to flash briefly.</p><p/><p><b>Changes:</b></p><p>The <b>closeBox</b> <glossary tag="property">property</glossary> was fully implemented in version 2.1. In previous versions, it was included in <glossary tag="LiveCode">LiveCode</glossary> for compatibility with imported SuperCard projects, but setting it had no effect.</p>
  </description>
</doc>