I've got a preview button in my app that runs a crystal report. For the first few seconds all is well. You can't click anything on the form and the cursor is an hourglass (as set by my code). But then the form becomes responsive again, the hourglass turns back into a pointer, and the user can select File, Close for example.
So for example, the user can open an order, print it, and close the order before the crystal report code finishes printing, causing an error.
I've tried this.Enabled = false; This does work but it makes all the controls greyed out. Its not that I want to prevent form events from firing as much as I want to ignore user mouse and keyboard input.
Is there a simple way to do this?
So for example, the user can open an order, print it, and close the order before the crystal report code finishes printing, causing an error.
I've tried this.Enabled = false; This does work but it makes all the controls greyed out. Its not that I want to prevent form events from firing as much as I want to ignore user mouse and keyboard input.
Is there a simple way to do this?