print on child form returns to parent
I have a child form created at run time.
From this I create a report and then print the report to either printer or PDF.
However when I do this focus returns to the parent form rather than the form from which I have printed.
If I minimise the parent form then it correctly returns to the form from which I did the printing.
Is it possible to change this behaviour so that focus returns correctly to the form which did the printing, regardless of the parent form state?
From this I create a report and then print the report to either printer or PDF.
However when I do this focus returns to the parent form rather than the form from which I have printed.
If I minimise the parent form then it correctly returns to the form from which I did the printing.
Is it possible to change this behaviour so that focus returns correctly to the form which did the printing, regardless of the parent form state?