Thanks, but that deletes the text every time print is called. I only need to clear the text when the popup window is destroyed. I cannot tell why the data persist when the popup is destroyed, or where it is stored.
we are the music makers and we are the dreamers of dreams - ww