{"identifier":51780,"topic":"","name":"doMenu 2","text":"HyperCard sends the<code> doMenu <\/code>command as a message to the current card when the user selects a menu item. <i><code>ItemName<\/i> <\/code>is the exact name of the menu item selected, and<code> <i>menuName<\/i> <\/code>is the exact name of the menu that contains the menu item. To handle the<code> doMenu <\/code>message, use this form: <code><pre>\n     on doMenu theItem,theMenu\n        <i>statements<\/i>\n     end doMenu<\/pre><\/code> <br>\n<br>\nNote: A<code> doMenu <\/code>handler can override a <code>menuMessage<\/code>. <br>\n","related":{"34927":null,"69523":"checkMark","70039":"commandChar","3428":"Commands sent automatically","34045":"create","34993":"disable","61996":"enable","71193":"enabled","76221":"markChar","58014":"menus","76567":"menuMessage","45460":"put","45965":"reset","6031":"Where messages are sent initially"},"examples":"","demo":"","debug":{"9":["HyperCard sends the "],"10":["Note: A doMenu handl"]}}