Home General

RB 19 : AutoSave / Recover / SaveAs

Hi,

How to disable AutoSave Recover and SaveAs behaviors in the new RB 19.02 ?

I dont see this properties in TppDesigner.

Comments

  • Hi ?

    Please modify your support forum account to use your real name. :)


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • 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
  • 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.
  • Hi Nicolas,

    My bad, this should work...

    ppDesigner1.Form.DesignControllers.DocumentController.AutoSave.Enabled := False;





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Thank you, it's ok !
Sign In or Register to comment.