Callback on Window COMP close

Is there a callback or other trigger available for when a floating window is closed via the escape key? I’d like the position of that window recorded, i.e. I’d like to hit the ‘update’ button on the Window COMP prior to close, or to stuff the winoffsetx/winoffsety parameters. I can do that if the window is closed via another key. Or is the right approach to trap the escape key myself and just do a par.winclose.pulse() on the window COMP after I update the winoffsets?

If you attach an infoCHOP to it, there is a channel for when it is open. The window location in the infoCHOP will be updated when the window is closed, and you can also do parameter checks and whatnot. Set up your callbacks in a chopexecDAT (as you probably know)

1 Like