> On 28 Apr 2015, at 02:26, J. Landman Gay <jac...@hyperactivesw.com> wrote:
> 
> LC menus are just buttons in a group and they follow the normal message 
> hierarchy. So the menuPick in the button will trigger first, and if not 
> handled, is passed to the menu group.

I was trying to use LC’s Menu system in the way Apple deals with things in 
Cocoa but it does not work like that.

I only needed to change the status of menuItems, enabled/disabled, by using the 
menuPick routine for each item not by changing the status in the menubar 
routine. This must have confused the shortcuts somehow.

So, this begs the question. Trying to think of a situation…..

When is there a need to use the menubar script?

on mouseDown tMenu
   if tMenu = 1 then
      — your code
   end if
end mouseDown


All the best and thanks

Terry
_______________________________________________
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