Re: Updating a menubar button on Mac

2020-09-21 Thread J. Landman Gay via use-livecode
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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 21,

Re: Updating a menubar button on Mac

2020-09-21 Thread Devin Asay via use-livecode
Populate it on mouseDown? I’ve done this lots, but mainly with option menus. > On Sep 21, 2020, at 4:55 PM, David Epstein via use-livecode > 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 par

Updating a menubar button on Mac

2020-09-21 Thread David Epstein via use-livecode
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?