The X in the left corner is used to close different views, like when you drill down.
>Is there a way of closing the Crystal preview form on ESC?
>
>I'm using VFP 7, CR 8.5, RDC in class based form to preview reports.
>
>I tried to capture key strokes in the form's KeyPress but it seems that CR control is preventing an event from firing.
>
>Also, the 'X' in the left corner is disabled although I'm setting the
>
>oForm.crViewer1.EnableCloseButton = .T.
>
>Any way of enabling it?
>
>Sasha
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer