>>>I have a bug in my application that when the user asks for a report to be sent to the screen for preview and hits the wrong top X to close it, the application errors. My reports will automatically come up in full screen mode and when you look at the top right you see 2 X's the top one to close the application and the one below it to close the report being previewed. What I would like to know is there a way I can disable the application close when the report is being previewed then enable it back when the user closes the preview window.
>>
>>_SCREEN.Closable = .F.
>
>Thanks anyway Ed, but Cetin came through like a champ with some code and direction I needed.
Damn...a day late and a dollar short again!