Events for widgets

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Events for widgets

    I would like to get specific events in widgets, for instance, if the tab(workbook) where the widgets is looses focus (an other tab is opend)

    Problem today is that if you in your widget have a timer running that when timer runs out calls a macro function.
    If the user changes the tab, the timer is not stopped and the macro call is done on the new tab(workbook) that results in an error because the macro function does not exist on the tab(workbook)

    So if the widget got an event, WORKBOOK_LOST_FOCUS / WORKBOOK_GOT_FOCUS you would be able to stop/start the timer.