|
Home » Help Extras » Helpful Tips » Menu behavior
Menu behaviorYou can handle menu events from your scripts in two ways. First, HyperCard sends a doMenu message, so you can write a doMenu handler to respond to the event. Second, if you do not handle the doMenu message, HyperCard checks the menuMessage property of the menu item. If it finds a message there, HyperCard sends this message to the current card. So you can also write a handler for this message to respond to the event. Note: Because HyperCard sends the doMenu message first, a doMenu handler will always override a specific handler meant to handle a menuMessage. Other tips:
« Mark cards from the Message box | Helpful Tips | Move a shape while creating it »
|