Thanks @cvp. Works a treat! That's exactly what I want.
I wasn't aware of will_close but, of course, I found it now in the doco.
Thanks @mikael -- I will give that a shot and report back.
No one has replied
Cool, that's almost what I'm after.
Oops! Looks like something went wrong!
You may only upload PNG, JPG, or GIF files ()