Error on design when inherited

Man'zMan'z Cilegon
edited 1:52AM in FastReport 4.0
Dear all,

I'm create the report preview, printing, and exporting template using frame. I put the export components, frxReport component, and frxPreview in a parent.

Now, i want to design report on my inheritance frame. When i trying to click New Report, the message error appear, and i cannot design new report on inherited frame.

The error is : Duplicate name.
with detail :
[125A2667]{frx11.bpl } Frxclass.TfrxComponent.SetName + $77
[1260A526]{frx11.bpl } Frxdesgn.TfrxDesignerForm.NewReportCmdExecute + $12A
[20040113]{rtl100.bpl } Classes.TBasicAction.Execute (Line 11081, "common\Classes.pas" + 3) + $7
[20151321]{vcl100.bpl } ActnList.TContainedAction.Execute (Line 388, "ActnList.pas" + 1) + $2C
[20152084]{vcl100.bpl } ActnList.TCustomAction.Execute (Line 1000, "ActnList.pas" + 7) + $8
[2003FFDF]{rtl100.bpl } Classes.TBasicActionLink.Execute (Line 11010, "common\Classes.pas" + 2) + $7
[2013C9E1]{vcl100.bpl } Controls.TControl.Click (Line 5227, "Controls.pas" + 7) + $7
[2019BC54]{vcl100.bpl } ComCtrls.TToolButton.Click (Line 17003, "ComCtrls.pas" + 0) + $0
[2013CE73]{vcl100.bpl } Controls.TControl.WMLButtonUp (Line 5365, "Controls.pas" + 6) + $3E
[2013C4F3]{vcl100.bpl } Controls.TControl.WndProc (Line 5146, "Controls.pas" + 83) + $6
[2013C180]{vcl100.bpl } Controls.TControl.Perform (Line 5021, "Controls.pas" + 5) + $C
[2013FE92]{vcl100.bpl } Controls.GetControlAtPos (Line 7095, "Controls.pas" + 4) + $73
[2013FF5A]{vcl100.bpl } Controls.TWinControl.ControlAtPos (Line 7118, "Controls.pas" + 13) + $E
[2013C180]{vcl100.bpl } Controls.TControl.Perform (Line 5021, "Controls.pas" + 5) + $C
[20140165]{vcl100.bpl } Controls.TWinControl.IsControlMouseMsg (Line 7182, "Controls.pas" + 15) + $1F
[2014052D]{vcl100.bpl } Controls.TWinControl.WndProc (Line 7269, "Controls.pas" + 76) + $6
[2019DC97]{vcl100.bpl } ComCtrls.TToolBar.UpdateButtonState (Line 18148, "ComCtrls.pas" + 5) + $1C
[2019DCCD]{vcl100.bpl } ComCtrls.TToolBar.UpdateButtonStates (Line 18157, "ComCtrls.pas" + 2) + $13
[201A060D]{vcl100.bpl } ComCtrls.TToolBar.WndProc (Line 19588, "ComCtrls.pas" + 80) + $6
[2013FD9C]{vcl100.bpl } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3) + $6
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[201625D0]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[2016260A]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[2015E673]{vcl100.bpl } Forms.TCustomForm.ShowModal (Line 5822, "Forms.pas" + 29) + $5
[125B2587]{frx11.bpl } Frxclass.TfrxReport.DesignReport + $E3
[2000A332]{rtl100.bpl } System.TInterfacedObject._AddRef (Line 17972, "sys\system.pas" + 1) + $4
[2000A348]{rtl100.bpl } System.TInterfacedObject._Release (Line 17977, "sys\system.pas" + 1) + $4
[2000A332]{rtl100.bpl } System.TInterfacedObject._AddRef (Line 17972, "sys\system.pas" + 1) + $4
[20006894]{rtl100.bpl } System.TObject.GetInterface (Line 9003, "sys\system.pas" + 8) + $A
[200068C6]{rtl100.bpl } System.TObject.GetInterface (Line 9009, "sys\system.pas" + 14) + $10
[2000A30F]{rtl100.bpl } System.TInterfacedObject.QueryInterface (Line 17964, "sys\system.pas" + 1) + $8
[2000A2AA]{rtl100.bpl } System.@IntfCast (Line 17920, "sys\system.pas" + 9) + $0
[2000A332]{rtl100.bpl } System.TInterfacedObject._AddRef (Line 17972, "sys\system.pas" + 1) + $4
[2000A275]{rtl100.bpl } System.@IntfCopy (Line 17866, "sys\system.pas" + 6) + $0
(00000766){dclfrx11.bpl} [123D1766]
[20D2D840]{designide100.bpl} DesignEditors.TComponentEditor.Edit (Line 2641, "DesignEditors.pas" + 1) + $11
[20D52341]{designide100.bpl} ComponentDesigner.TInternalItem.Edit (Line 7039, "ComponentDesigner.pas" + 1) + $F
[20D31578]{designide100.bpl} Designer.TDesigner.Edit (Line 965, "Designer.pas" + 0) + $4
[20D3377C]{designide100.bpl} Designer.TDesigner.MouseDown (Line 1659, "Designer.pas" + 45) + $6
[20D2FFBA]{designide100.bpl} Designer. + $0
[066567D6]{vcldesigner100.bpl} VCLSurface.TComponentToolWindow.WndProc (Line 1324, "vclsurface.pas" + 16) + $32
[06657186]{vcldesigner100.bpl} VCLSurface.TContainer.WndProc (Line 1624, "vclsurface.pas" + 39) + $6
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[0B7AEC4D]{cxLibraryD11.bpl} Cxcontainer.TcxCustomInnerListBox.CNDrawItem + $695
[066565C3]{vcldesigner100.bpl} VCLSurface.TDesignerToolWindow.MainWndProc (Line 1259, "vclsurface.pas" + 2) + $7
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[02B850FD]{DelphiSpeedUp105.dll} SystemOptimize.DMTSearch (Line 198, "SystemOptimize.pas" + 4) + $7
[201625D0]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[2016260A]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[201628FF]{vcl100.bpl } Forms.TApplication.Run (Line 8223, "Forms.pas" + 20) + $3
[00422976]{bds.exe } bds.bds (Line 195, "" + 7) + $7


That of first problem. The second one is :
When i'm design new report on parent, its ok, the first problem its not appear, but, after create a design report 10 times,
another message error appear when close the report design :
Could not rename, it was introduced in the ancestor report.

In Detail :
[125A26A0]{frx11.bpl } Frxclass.TfrxComponent.SetName + $B0
[20039855]{rtl100.bpl } Classes.TReader.SetName (Line 7345, "common\Classes.pas" + 2) + $6
[200378C4]{rtl100.bpl } Classes.SetCompName (Line 6519, "common\Classes.pas" + 3) + $14
[20037A97]{rtl100.bpl } Classes.TReader.ReadComponent (Line 6555, "common\Classes.pas" + 17) + $7
[20D26C02]{designide100.bpl} Update.CreateFromAncestor (Line 1373, "Update.pas" + 28) + $9
[20D26CAC]{designide100.bpl} Update.DoInsertInserted (Line 1394, "Update.pas" + 6) + $9
[20D26CE0]{designide100.bpl} Update.DoInsertInserted (Line 1397, "Update.pas" + 9) + $13
[20D26D2F]{designide100.bpl} Update.InsertInserted (Line 1407, "Update.pas" + 5) + $16
[20D26F5E]{designide100.bpl} Update.TUpdateManager.Update (Line 1457, "Update.pas" + 17) + $1
[20D26879]{designide100.bpl} Update.TUpdateManager.UpdateChildren (Line 1250, "Update.pas" + 2) + $A
[20D26840]{designide100.bpl} Update.TUpdateManager.Modified (Line 1232, "Update.pas" + 2) + $2
[20D477A2]{designide100.bpl} ComponentDesigner.TComponentRoot.ModifiedUpdateNotification (Line 2872, "ComponentDesigner.pas" + 2) + $8
[20D478C4]{designide100.bpl} ComponentDesigner.TComponentRoot.Modified (Line 2891, "ComponentDesigner.pas" + 12) + $2
(00000783){dclfrx11.bpl} [123D1783]
[20D2D840]{designide100.bpl} DesignEditors.TComponentEditor.Edit (Line 2641, "DesignEditors.pas" + 1) + $11
[20D52341]{designide100.bpl} ComponentDesigner.TInternalItem.Edit (Line 7039, "ComponentDesigner.pas" + 1) + $F
[20D31578]{designide100.bpl} Designer.TDesigner.Edit (Line 965, "Designer.pas" + 0) + $4
[20D3377C]{designide100.bpl} Designer.TDesigner.MouseDown (Line 1659, "Designer.pas" + 45) + $6
[20D2FFBA]{designide100.bpl} Designer. + $0
[066567D6]{vcldesigner100.bpl} VCLSurface.TComponentToolWindow.WndProc (Line 1324, "vclsurface.pas" + 16) + $32
[06657186]{vcldesigner100.bpl} VCLSurface.TContainer.WndProc (Line 1624, "vclsurface.pas" + 39) + $6
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[0B7AEC4D]{cxLibraryD11.bpl} Cxcontainer.TcxCustomInnerListBox.CNDrawItem + $695
[066565C3]{vcldesigner100.bpl} VCLSurface.TDesignerToolWindow.MainWndProc (Line 1259, "vclsurface.pas" + 2) + $7
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[02B850FD]{DelphiSpeedUp105.dll} SystemOptimize.DMTSearch (Line 198, "SystemOptimize.pas" + 4) + $7
[201625D0]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[2016260A]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[201628FF]{vcl100.bpl } Forms.TApplication.Run (Line 8223, "Forms.pas" + 20) + $3
[00422976]{bds.exe } bds.bds (Line 195, "" + 7) + $7



I use version 4.6.8 of FR. and Delphi 2007 for Win32.

Anyone can help ?

Thanks

Man'z

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.