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. 

Bob S


> On Jul 10, 2018, at 02:07 , Tore Nilsen via use-livecode 
> <use-livecode@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.
> 
> Regards
> Tore Nilsen


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to