Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Closing a non-modal report progamatically
rbuser
August 2004
edited August 2004
in
General
How do I programmatically close a non-modal report form? If I just
close the form the component is on, I get AV's all over the place.
D7 Ent.
RB 7 Ent.
Thanks,
--
Rick Dement
Ideal Software Systems, Inc.
Comments
rbuser
August 2004
edited August 2004
Rick Dement wrote:
Ok I found This:
MyReport.PreviewForm.Close;
I also had to add this before it:
If Assigned(MyReport.PreviewForm) and MyReport.PreviewForm.Visible
Then
Works great. Thanks anyway... unless someone has a better way.
--
Rick Dement
Ideal Software Systems, Inc.
This discussion has been closed.
Comments
Ok I found This:
MyReport.PreviewForm.Close;
I also had to add this before it:
If Assigned(MyReport.PreviewForm) and MyReport.PreviewForm.Visible
Then
Works great. Thanks anyway... unless someone has a better way.
--
Rick Dement
Ideal Software Systems, Inc.