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, 2020 5:57:52 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 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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
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


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 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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


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?  Thank you!

David Epstein
___
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