Show Report in Modal

Stimulsoft Reports.NET discussion
Post Reply
fphealthcare
Posts: 33
Joined: Sun Jul 02, 2006 6:06 pm
Location: New Zealand

Show Report in Modal

Post 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
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Show Report in Modal

Post 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
fphealthcare
Posts: 33
Joined: Sun Jul 02, 2006 6:06 pm
Location: New Zealand

Show Report in Modal

Post by fphealthcare »

That was easy! Thanks.
Post Reply