Page 1 of 1

Show Report in Modal

Posted: Tue Feb 13, 2007 5:59 pm
by fphealthcare
I have an application which creates a report then displays it on screen using 'report.Show()'. This shows the report in it's own window, but is not modal. Meaning I can still click on the applications window. Is there a way to make the report shown in modal mode, so until I close the report I can't go back to the application?

Thanks

Show Report in Modal

Posted: Tue Feb 13, 2007 6:53 pm
by Brendan
calling

Code: Select all

report.Show(true);
should show the Report as a Dialog where true is for the argument "bool modalDialog"

Regards,
Brendan

Show Report in Modal

Posted: Tue Feb 13, 2007 8:19 pm
by fphealthcare
That was easy! Thanks.