Home General

How to access ObjectTreeBuilder of the ReportTree?

edited July 2010 in General
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

Comments

  • edited July 2010
    Hi Mark,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2010
    Hi Nico,

    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

  • edited July 2010
    Hi 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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2010
    No problem Nico,

    that sounds great as well, thanks a lot! :)


This discussion has been closed.