On 2/25/20 10:48 AM, Richard Gaskin via use-livecode wrote:
Are the Lessons also at Github? Would be nice if someone here has a
moment to update that.
Lessons unfortunately are not on github. They're editable only through
ScreenSteps, which doesn't have a linux option. I can no longer even
Tore Nilsen wrote:
> The problem here is that when a group is set to behave as a menubar on
> MacOS, the target becomes the group and not any of the individual
> buttons. Therefore the script as it is written in the tutorial will
> not work, since the update of the menu will only happen if the
> 25. feb. 2020 kl. 17:57 skrev Richard Gaskin via use-livecode
> :
>
>Cross-platform note: When a menu button is being displayed in
>the Mac OS menu bar, it does not receive mouseDown messages,
>but its group does. For this reason, this example handler
>should be placed in the
Henry Lowe wrote:
> The Livecode Lesson 'Update a menu with a list of open windows'
> recommends placing a mousedown handler in the script of the Menubar
> group to determine which menu was clicked on:
>
>
http://lessons.livecode.com/m/2592/l/126566-update-a-menu-with-a-list-of-open-windows
>
Henry:
> Anyone know of a workaround for this?
Just be aware that many LC "lessons" are flawed. Don't believe
everything you read.
Beyond the bug, updating Windows menu only on its own mousedown is
already a failing strategy to begin with (bad instruction from "lesson")
because the user