How to access ObjectTreeBuilder of the ReportTree?
Hello,
how can I access the ObjectTreeBuilder of the ReportTree?
I would like to hide the entry "parameters" from the ReportTree, so only
the components like DBText or Memo etc. are visible there.
If I see it correct, then it's the procedure
TppReportTreeWindow.CreateControls; where ShowParameters is being set to
true. I would like to be able to set it to false without to change
original sources.
Is there a way to accomlish that?
Also: how can I disable the possibility to rename the report objects via
the ReportTree (not the menuitem "rename", but the single-click rename)?
Regards,
Mark
how can I access the ObjectTreeBuilder of the ReportTree?
I would like to hide the entry "parameters" from the ReportTree, so only
the components like DBText or Memo etc. are visible there.
If I see it correct, then it's the procedure
TppReportTreeWindow.CreateControls; where ShowParameters is being set to
true. I would like to be able to set it to false without to change
original sources.
Is there a way to accomlish that?
Also: how can I disable the possibility to rename the report objects via
the ReportTree (not the menuitem "rename", but the single-click rename)?
Regards,
Mark
This discussion has been closed.
Comments
Looking at the source code, it does not look like it is currently possible
to access the TppObjectTreeBuilder for the Report Tree at runtime. I will
see about exposing this property for the next release (or adding the ability
to easily show or hide the parameters/groups in the tree).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
it sounds very good, thanks a lot.
Do you have a suggestion for my second question?
"how can I disable the possibility to rename the report objects via
the ReportTree (not the menuitem "rename", but the single-click rename)?"
Regards,
Mark
Oops, didn't see that. I will also expose the ReportTree property so you
can change the ReadOnly property .
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
that sounds great as well, thanks a lot!