Does anyone know how to capture the event generated when one clicks on
the X button in the uppper right corner?  I want to perform some
verifications and cleanup prior to closing.

Thanks,

Rich

_______________________________
Rich Kilmer, InfoEther LLC
trap("SIGINT") { raise [104, 101, 108, 108].pack("cccc") }