Updating a menubar button on Mac

J. Landman Gay jacque at hyperactivesw.com
Mon Sep 21 20:55:38 EDT 2020


When the menu is placed into the system menu on Macs the buttons no longer 
receive messages but the group does, so update everything at once on 
mouseDown in the group script.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 21, 2020 5:57:52 PM David Epstein via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> I can use a “mouseEnter” handler to update a menu button’s contents just 
> before the user displays that menu.  But if that menu button is part of the 
> stack’s menubar group on a Mac, the Mac menu does not seem to receive the 
> mouseEnter message and the menu is not updated.  Is there a workaround?  
> Thank you!
>
> David Epstein
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list