Re: Mousedown in Application Menubar Messages
David: > I'm having a difficult to track down issue with application menus I've > created using the Menu Builder tool - everything works but the > "mouseDown" message is not sent to the group - > well sometimes it is sometimes it is not :) I remember a similar issue - are you on Mac? The menubar being on the OS can require coding consideration - and mouseDown rings a bell, if you have any further details Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ ___ 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: Mousedown in Application Menubar Messages
Thanks Paul - I'll check with 9.6.1 - I'm getting this behavior with10 dp7 on MacOS On Mon, 5 Feb 2024 at 20:19, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > I've not experienced any problems with the menubar group receiving a > mouseDown message to adjust the menus based on context before they > appear (LC versions up to 9.6.11 on macOS and Windows) > > A long time back, I did have an unnecessary 'wait 0 with messages' in > my mouseDown handler and had instances where other messages fired before > my mouseDown handler was done (or so it seemed). > > > On 2/5/2024 3:07 PM, David Bovill via use-livecode wrote: > > I'm having a difficult to track down issue with application menus I've > > created using the Menu Builder tool - everything works but the > "mouseDown" > > message is not sent to the group - well sometimes it is sometimes it is > not > > :) I'm using "mousedown" to trigger dynamic formatting of the menus. > Menupick > > messages are sent fine. > > > > Has anyone had a similar experience - I feel it may be due to the detail > of > > how the menu-buttons are formatted in the group - but it might also be a > > bug in dp7? > > ___ > > 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 > ___ 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: Mousedown in Application Menubar Messages
I've not experienced any problems with the menubar group receiving a mouseDown message to adjust the menus based on context before they appear (LC versions up to 9.6.11 on macOS and Windows) A long time back, I did have an unnecessary 'wait 0 with messages' in my mouseDown handler and had instances where other messages fired before my mouseDown handler was done (or so it seemed). On 2/5/2024 3:07 PM, David Bovill via use-livecode wrote: I'm having a difficult to track down issue with application menus I've created using the Menu Builder tool - everything works but the "mouseDown" message is not sent to the group - well sometimes it is sometimes it is not :) I'm using "mousedown" to trigger dynamic formatting of the menus. Menupick messages are sent fine. Has anyone had a similar experience - I feel it may be due to the detail of how the menu-buttons are formatted in the group - but it might also be a bug in dp7? ___ 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