Open and close a menu with the same button.

Hi felipebenjamin,
you could add a on_click event on the page:

export function iconButton1_click(event) {
    $w("#horizontalMenu1").show ()

}
export function page1_click(event) {
    $w("#horizontalMenu1").hide ()

}

Or, you could just add a on_mouseIn & on_mouseOut function to the button:

export function iconButton1_mouseIn(event) {
    $w("#horizontalMenu1").show ()

}export function iconButton1_mouseOut(event) {
    $w("#horizontalMenu1").hide ()

}

Did this answer your question?:grin: