bobsneidar at iotecdigital.com
Tue Jul 10 10:46:19 EDT 2018
I agree Tor. The problem with doMenu is, what happens when you want to create your own menu group? None of the doMenu calls to the standard menus will work anymore.
> On Jul 10, 2018, at 02:07 , Tore Nilsen via use-livecode <use-livecode at lists.runrev.com> wrote:
> I cannot answer your question about the sending of doMenu to items in a hierarchy, but this seems to me to be a situation where you would be better off placing the actual handler for what you would like to do in the stack script. Then all it takes is a call to this handler, be it from the menu item or from somewhere else. This way you do not need to send a doMenu command at all. This is how I teach my students to structure their code.
> Tore Nilsen
More information about the Use-livecode