[Pharo-users] [pharo8-api-change] #mouseEnter event on Menu

Hilaire hilaire at drgeo.eu
Fri Feb 28 12:53:39 EST 2020


Hi,

On P8, the code bellow does not generate the #mouseEnter event when the
cursor enter the menu.

This code was working on P7.

Any idea why it is not working on P8 :-)

    menuBar 
        add: 'Macro-construction' translated
        font: self theme menuBarFont
        icon: nil 
        help: 'Build or execute macro-construction. A macro is a construction template you can apply to items in the sketch area.' translated 
        subMenu: self macroconstructionMenu.
    menuBar lastSubmorph
        on: #mouseEnter
        send: #updateMacroMenu
        to: self.

Thanks

Hilaire

-- 
Dr. Geo
http://drgeo.eu





More information about the Pharo-users mailing list