Trigger reactor from actions in tab context menu resp. tab close button

Hi,

I want to use a reactor to perform certain cleanups and validations on closing a document.
This works using the actions or corresponding shortcuts from the File menu and check for
the commands "WCLOSE""CLOSE""WCLOSEALL""CLOSEALL""QUIT" in the reactor.
But using Close from the tab context menu or the Close button on the tab does not trigger the reactor.
The command line does not show a command name for the tab actions.
Is it possible to trigger a reactor from the tab context menu / tab Close button and how can I do that?

Thanks

Comments

  • Try using a DWG reactor with a :vlr-beginClose event.
  • In actual V17, the document tabs send a normal WCLOSE command ...
    maybe you need to update to more recent V17 ?

    Besides, as Roy mentioned, the beginClose() reactor event should be fine as well.
    many greetings !
  • Try using a DWG reactor with a :vlr-beginClose event.


    works, thanks for the hint and fast response
    .


    @Torsten Moses


    good to read that this inconsistent behavior is gone in V17

    Thanks

This discussion has been closed.