FastReport Designer

Hello,


is there any possibility to access the designer's recent files list? I would like to control which files are visible in the list


Thank you and best regards

Comments

  • In the config file, which is located in the "....\AppData\Local\FastReport" folder, there is an "Designer" object with the "RecentFiles" property.

  • Thank you, found it. Is it possible to configure the FastReport environment in a way that I can store the settings in my application folder?


    Best regards

  • FastReport.Utils.Config.Folder = path;

  • Thank you,


    that is easy. Couldn't find it in the NetProgrammersManual


    Best regards

  • Hello!

    The list of recently opened reports (RecentFiles) is stored in the FastReport.config configuration file (by default in %LocalAppData%\FastReport\FastReport.config, in the <Designer><RecentFiles>...</RecentFiles> section).

    To manage this list and/or move the configuration storage folder from AppData directly to your application’s directory:

    // Move the FastReport.config storage folder (at program startup):
    FastReport.Utils.Config.Folder = Application.StartupPath;
    // Access the XML configuration for recent files via Config.Root:
    var recentNode = FastReport.Utils.Config.Root.FindItem(“Designer”).FindItem(“RecentFiles”);
    
This discussion has been closed.