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
RB 19 : AutoSave / Recover / SaveAs
SoluneDev
September 2018
in
General
Hi,
How to disable AutoSave Recover and SaveAs behaviors in the new RB 19.02 ?
I dont see this properties in TppDesigner.
Comments
nardmoseley
September 2018
Hi ?
Please modify your support forum account to use your real name.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
nardmoseley
September 2018
Hi Nicolas,
1. To prevent Designer Save As prompt, implement the Designer.OnShow
ppReport1.SaveAsTemplate := False;
2. To disable AutoSave
ppDesigner1.Form.DesignControllers.DocumentController.AutoSave := False;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
SoluneDev
September 2018
Hi Nard,
Ok for the Save As prompt, that did the trick.
But unfortunatly, the following line did not, because the property AutoSave is read only.
ReportDesigner.Form.DesignControllers.DocumentController.AutoSave := False;
"Cannot assign to readonly property"
Best regards.
nardmoseley
September 2018
Hi Nicolas,
My bad, this should work...
ppDesigner1.Form.DesignControllers.DocumentController.AutoSave.Enabled := False;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
SoluneDev
September 2018
Thank you, it's ok !
Sign In
or
Register
to comment.
Comments
Please modify your support forum account to use your real name.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
1. To prevent Designer Save As prompt, implement the Designer.OnShow
ppReport1.SaveAsTemplate := False;
2. To disable AutoSave
ppDesigner1.Form.DesignControllers.DocumentController.AutoSave := False;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Ok for the Save As prompt, that did the trick.
But unfortunatly, the following line did not, because the property AutoSave is read only.
ReportDesigner.Form.DesignControllers.DocumentController.AutoSave := False;
"Cannot assign to readonly property"
Best regards.
My bad, this should work...
ppDesigner1.Form.DesignControllers.DocumentController.AutoSave.Enabled := False;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com