{"identifier":68822,"topic":"Properties","name":"cantDelete","text":"<code><pre> set [the] cantDelete of <i>card<\/i> \u00ac\n    to <i>trueOrFalse<\/i>\nset [the] cantDelete of <i>bkgnd<\/i> \u00ac\n    to <i>trueOrFalse<\/i>\nset [the] cantDelete of <i>stack<\/i> \u00ac\n    to <i>trueOrFalse<\/i>\n<\/pre><\/code>\nThe <code>cantDelete<\/code> property returns or sets whether a user can delete a specified card, background, or stack. It corresponds to the Can\u2019t Delete check box in the Card Info, Background Info, and Protect Stack dialog boxes. <br>\n<br>\n The default value is<code> false <\/code>(meaning that a card, background, or stack can be deleted). <br><br>\n\n Note: Setting the<code> cantDelete <\/code>of a stack to<code> true <\/code>doesn't prevent the user from deleting the stack by dragging it to the Trash. <br>\n","related":{"69105":"cantModify","18315":"deleteBackground","18888":"deleteCard","19234":"deleteStack"},"examples":"","demo":"on cantDeleteDemo\n   set cantDelete of this card to true\n   domenu \"Delete Card\" \n end cantDeleteDemo\n ","debug":{"9":["\rset [the] cantDelet"],"10":["\rThe default value i"]}}