{"identifier":18636,"topic":"System messages","name":"deleteButton","text":"<code><pre>deleteButton\n<\/pre><\/code> Handler: <br><br>\n\n <code><pre>on deleteButton\n   <i>statements<\/i>\nend deleteButton\n<\/pre><\/code>\nHyperCard sends th<code>e deleteButton <\/code>message to a button that is being deleted just before the button disappears. <br>\n<br>\nNote:  You cannot stop a button from being deleted by trapping the <code>deleteButton <\/code>message. Instead, you must handle the<code> doMenu <\/code>message. <br>\n","related":{"35579":"doMenu","21952":"newButton","6031":"Where messages are sent initially"},"examples":"","demo":"","debug":{"9":["deleteButton\r\rHandle"],"10":["Note:  You cannot st"]}}