>Hi All,
>
>I noticed that after some actions in my application, such as opening a Print Preview window or displaying the message box the close button of the screen becomes disable.
>
>_Screen.Closable is set to default (.T.) and I don't change this value programmatically at any point.
>
>Can anyone help me on this one ...
>TIA,
>Daniel
Add these two lines after you do a report preview:
_SCREEN.Closable = .F.
_SCREEN.Closable = .T.