Please fix "revert to inherited" for individual properties
Hi,
I posted on this subject before, but the problem was not fixed yet in
release 14.06 for Delphi 7!.
This is causing me lots of headaces in making changes to the layout in an
existing project, that uses multiple levels of form inheritance with
aTppReport component on the ancestor of all these forms!
Three ways to revert to inherited with form inheritance, that works on other
Delphi components:
1. Right click on the control, and select "revert to inherited". This likely
works with a TppReport component, but I don't need this, since onm my
descendant TppReport components, I may have added lost more Tpp Componenets,
and don't want them all to be deleted!
2. In the delphi object inspector, select a TppComponent, e.g. a TppLable,
and then on the component name at the top of the screen, select "revert to
inheried". This will reset all revertable properties to that of the values
descendant form. It worsk with e.g. a Delphi TLable. This DOES not work
correctly on TppComponents!
3. Select e.g. ppLable1: TppLable in the ReportBuilder Report Designer,
then open the Delphi object inspector, and select e.g. the width property on
there, right click on it, and select "revert to inheried", then the property
should revert to the width of ppLable to the width that it has on the form
from which this one inherits!
Two hard / manual ways to do this is
1. Change each property individualy
2. Open the DFM, delete the mmWidth property value, and repopen the form.
That means the property now defaulted to values in the descendant forms's
dfm!
I will realy be happy if you can fix this for a future release.
In my hierarchy of inherited forms, eg.
TRprtBasic = class(TForm), TRptExternal = class(TReportBasic),
TRptAddressed = class(TRptExtrenal), TRptStatement = class(TRptAddressed),
TRptInvoice = class(TRptAddressed),
with ppReport: TppReports on the root ancestor of my forms, each level is
like a "template" for the next level of inheritence. Now that big changes
are needed in the layout, I canot simply go and edit e.g. TRptAddressed
(move stuff around a bit), and have the properties "propogate" through to al
descendants of TRptAddressed , unless the properties was NEVER changed on
the descendants, and hence not stored in the DFM. That is what I need: to be
able to revert back so that I can quicly and visibly design and change
complex reports without lots of manual work!
I sure hope this can be done!
Best regards
Louis
I posted on this subject before, but the problem was not fixed yet in
release 14.06 for Delphi 7!.
This is causing me lots of headaces in making changes to the layout in an
existing project, that uses multiple levels of form inheritance with
aTppReport component on the ancestor of all these forms!
Three ways to revert to inherited with form inheritance, that works on other
Delphi components:
1. Right click on the control, and select "revert to inherited". This likely
works with a TppReport component, but I don't need this, since onm my
descendant TppReport components, I may have added lost more Tpp Componenets,
and don't want them all to be deleted!
2. In the delphi object inspector, select a TppComponent, e.g. a TppLable,
and then on the component name at the top of the screen, select "revert to
inheried". This will reset all revertable properties to that of the values
descendant form. It worsk with e.g. a Delphi TLable. This DOES not work
correctly on TppComponents!
3. Select e.g. ppLable1: TppLable in the ReportBuilder Report Designer,
then open the Delphi object inspector, and select e.g. the width property on
there, right click on it, and select "revert to inheried", then the property
should revert to the width of ppLable to the width that it has on the form
from which this one inherits!
Two hard / manual ways to do this is
1. Change each property individualy
2. Open the DFM, delete the mmWidth property value, and repopen the form.
That means the property now defaulted to values in the descendant forms's
dfm!
I will realy be happy if you can fix this for a future release.
In my hierarchy of inherited forms, eg.
TRprtBasic = class(TForm), TRptExternal = class(TReportBasic),
TRptAddressed = class(TRptExtrenal), TRptStatement = class(TRptAddressed),
TRptInvoice = class(TRptAddressed),
with ppReport: TppReports on the root ancestor of my forms, each level is
like a "template" for the next level of inheritence. Now that big changes
are needed in the layout, I canot simply go and edit e.g. TRptAddressed
(move stuff around a bit), and have the properties "propogate" through to al
descendants of TRptAddressed , unless the properties was NEVER changed on
the descendants, and hence not stored in the DFM. That is what I need: to be
able to revert back so that I can quicly and visibly design and change
complex reports without lots of manual work!
I sure hope this can be done!
Best regards
Louis
This discussion has been closed.
Comments
We are still researching a solution for this issue. Thank you for the
feedback, this is an issue that we would like to resolve.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com