{"identifier":61996,"topic":"Commands","name":"enable","text":"<code>enable <i>menu<\/i><\/code> <code><pre>enable <i>menuItem<\/i> of <i>menu<\/i>\nenable <i>button\n<\/i><\/pre><\/code> The<code> enable <\/code>command activates menu items, entire menus, or buttons that are  inactive (dimmed).  It\u2019s a shortcut for setting the<code> enabled <\/code>property to <code>true<\/code>. <br>\n<br>\nThe<code> enable <\/code>command enables only items in HyperCard\u2019s menus that are currently available to the user.  For example, the following command will not enable the Button Info command in the Objects menu unless a button is currently selected: <br><br>\n\n <code>enable menuItem 1 of menu \"Objects\"<\/code> <br>\n","related":{"34927":null,"69523":"checkMark","70039":"commandChar","34045":"create","34993":"disable","35579":"doMenu","71193":"enabled","76221":"markChar","58014":"menus","76567":"menuMessage","45460":"put","45965":"reset"},"examples":"enable menu \"File\"\nenable menu 2\nenable second menu\n\nenable menuItem \"New\" of menu \"File\"\nenable menuItem 2 of menu 2\nenable second menuItem of second menu\n\nenable background button 3\nenable last button","demo":"","debug":{"9":["enable menu\renable m"],"10":["The enable command e"]}}