Jump to content
  • Status: Fixed
  • Priority: Normal
  • Resolution: Fixed
  • Platform: Android, iOS, Windows
  • Affects version: 1.15.4.0

Hi, if i Edit Assets and save them, my DPR File is destroyed.

You can easily test it with every Project.

My DPR Files contain some ifdef 

Sample: 

program PagesControlDemo;

uses
  FGX.Application,
  FGX.Forms,
{$if defined(Stefan)}
  FGX.Log,
{$endif}
  Assets.Consts in 'Assets.Consts.pas',
  Form.Main in 'Form.Main.pas' {Form4: TfgForm};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm4, Form4);
  Application.Run;
end.

Now open Assets Editor and add for example a new Icon, After Saving the DPR looks like this

program PagesControlDemo;

uses
  FGX.Application,
  FGX.Forms,
  {$if defined(Stefan)}
  FGX.Log,
  Form.Main in 'Form.Main.pas' {Form4: TfgForm},
  Assets.Consts in 'Assets.Consts.pas';

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm4, Form4);
  Application.Run;
end.

I use more than one define so the Result differ somertimes extremly.

This is not a BUG from you its from Rad Studio, i have a ticket open concering the DPR - Problem with defines https://quality.embarcadero.com/browse/RSP-40889

But is it possible if Assets.Consts is allready contained in the DPR, not to change the DPR File ?

 


Fix version: 1.15.5.0

User Feedback

Recommended Comments

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.