<doc>
  <legacy_id>1909</legacy_id>
  <name>cantModify</name>
  <type>property</type>
  <syntax>
    <example>set the cantModify of <i>stack</i> to { true | false }</example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="topLevel">topLevel Command</command>
    <property tag="cantDelete">cantDelete Property</property>
    <property tag="lockText">lockText Property</property>
    <property tag="userModify">userModify Property</property>
    <property tag="userLevel">userLevel Property</property>
    <property tag="mode">mode Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether the user can make changes to a <object tag="stack">stack</object>.</summary>
  <examples>
    <example>set the cantModify of stack "Help" to true</example>
  </examples>
  <description>
    <p>Use the <b>cantModify</b> <glossary tag="property">property</glossary> to protect the <glossary tag="object">objects</glossary> in a <object tag="stack">stack</object> from changes.</p><p/><p><b>Value:</b></p><p>The <b>cantModify</b> of a stack is true or false.</p><p/><p>By default, the <b>cantModify</b> <glossary tag="property">property</glossary> of newly created <function tag="stacks">stacks</function> is set to false.</p><p/><p><b>Comments:</b></p><p>If a stack's <b>cantModify</b> <glossary tag="property">property</glossary> is set to true, the user cannot choose any <function tag="tool">tool</function> except the <glossary tag="Browse tool">Browse tool</glossary>. This prevents the user from moving, resizing, creating, or deleting <glossary tag="object">objects</glossary>.</p><p/><p>If a stack's <b>cantModify</b> is false and its <property tag="label">label</property> <glossary tag="property">property</glossary> is empty, an asterisk (*) appears in the <glossary tag="stack">stack's</glossary> <glossary tag="title bar">title bar</glossary>, indicating that the <object tag="stack">stack</object> can be modified.</p><p/><p>The <b>cantModify</b> <glossary tag="property">property</glossary> restricts user actions, but does not affect actions performed by a <glossary tag="handler">handler</glossary>. To prevent either user action or a <glossary tag="handler">handler</glossary> from deleting a <keyword tag="card">card</keyword>, <command tag="group">group</command>, or <object tag="stack">stack</object>, use the <property tag="cantDelete">cantDelete</property> <glossary tag="property">property</glossary>.</p><p/><p><img src="202653"/> <b>Important!</b> If a modifiable <object tag="stack">stack</object> is open in an <glossary tag="editable window">editable window</glossary>, the modifiable <object tag="stack">stack</object> takes precedence over any non-modifiable stacks, because its <property tag="mode">modeproperty</property> is lower. This means that menu items (such as Object menu<img src="202656"/>Stack Properties) that act on the current s may not be able to operate correctly with a stack whose cantModify is set to true as long as another, modifiable stack is open.</p>
  </description>
</doc>