{"identifier":69105,"topic":"Properties","name":"cantModify","text":"<code><pre> set [the] cantModify of <i>stack<\/i> \u00ac\n     to <i>trueOrFalse<\/i>\n<\/pre><\/code> The<code> cantModify <\/code>property returns or sets whether a stack can be changed in any way. It corresponds to the Can\u2019t Modify check box in the Protect Stack dialog box. <br><br>\n\n Setting the<code> cantModify <\/code>of a stack to <code>true <\/code>selects both the Can\u2019t Modify Stack check box and the Can\u2019t Delete Stack check box in the Protect Stack dialog box.  When<code> cantModify <\/code>is true, a padlock appears in the menu bar. <br>\n<br>\n The default value is<code> false <\/code>(meaning that the card, background, or stack can be modified). <br>\n","related":{"68822":"cantDelete","87651":"userModify"},"examples":"","demo":"on cantModifyDemo\n    -- Test whether a stack is locked from the Finder, is on locked \n    -- media, or is in a read-only folder on a shared volume. If it is, \n    -- you can't set cantModify to false\n    set <b>cantModify<\/b> of this stack to false\n    if <b>cantModify<\/b> of this stack is true then \n       answer \"This stack is locked or is on locked media.\"\n    else answer \"This stack is not locked.\"\n end cantModifyDemo\n ","debug":{"9":["\rset [the] cantModif"],"10":["\rThe default value i"]}}