DoMenu not working right?
bobsneidar at iotecdigital.com
Wed Dec 27 17:20:48 EST 2017
Ah! I didn't read that far. I don't think menuPick will work, unless the Livecode default menu is actually an IDE menubar. It's not really important now, I just ran into it whilst trying to use the message box to get the properties of the selected object without having to manually pop a menu.
I suppose I could just find out what the name of the Object Inspector stack is and open it. :-)
> On Dec 27, 2017, at 14:03 , Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 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 FourthWorld.com http://www.FourthWorld.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode