DoMenu not working right?

Richard Gaskin ambassador at
Wed Dec 27 17:03:13 EST 2017

Bob Sneidar wrote:

 > Dictionary states: doMenu menuItem [of menu menuName]. I state: select
 > button "Development";domenu "Object Inspector" of menu "Object". I
 > get:
 > Message execution error:
 > Error description: Handler: can't find handler
 > Hint: of
 > ?

The Dictionary also states:

    The doMenu command is not implemented for all menu items.
    This command is included in LiveCode for compatibility
    with imported HyperCard stacks.

When I need to trigger a menu item I dispatch a menuPick message to the 
menu button with the appropriate string.

  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  Ambassador at      

More information about the Use-livecode mailing list