{"identifier":76567,"topic":"Properties","name":"menuMessage","text":"<code> set <\/code>[<code>the<\/code>]<code> menuMessage of <i>menuItem<\/i> \u00ac     of <i>menu<\/i> to \u00ac     \"<i>messageName<\/i> <\/code>[<i><code>parameterList<\/i><\/code> ]<code>\" <br><br>\n\n <\/code>The<code> menuMessage <\/code>property returns or sets the message sent to the current card when the user chooses a menu item from a menu.  <br><br>\n\n The<code> menuMessage <\/code>property returns<code> empty <\/code>if the menu item has no associated message. <br>\n<br>\n HyperCard\u2019s default menu items have no associated messages sent to the current card unless they have been explicitly set with this property.  <br><br>\n\n A<code> doMenu <\/code>handler can override a <code>menuMessage<\/code>. <br>\n","related":{"27092":null,"34927":null,"69523":"checkMark","70039":"commandChar","34045":"create","34993":"disable","35579":"doMenu","61996":"enable","71193":"enabled","58014":"menus","45460":"put","45965":"reset"},"examples":"get the menuMessage of menuItem 1 of menu \"Help\"\nif it is not empty then ...\n\nset the menuMessage of menuItem \"Print\" of menu \"File\" to \"myPrint\"\nset the menuMsg of menuItem 2 of menu 2 to \"beep\"\nset the menuMsg of second menuItem of second menu to \u00ac\n  \"set the visible of field 1 to not the visible of field 1\"","demo":"","debug":{"9":["\rset [the] menuMessa"],"10":["\rHyperCard\u2019s defau"]}}