Home Component Writing
New Blog Posts: Merging Reports - Part 1 and Part 2

Removing element from the Run-time Object Inspector

edited August 2005 in Component Writing
How do I remove an element from the run-time object inspector in the Report
TreeView.

It is in a component inherited from the standard components.

Thanks in advance.
Steffen

Comments

  • edited August 2005

    Can you provide more details about what you are trying to accomplish? When
    you say element are referring to removing a component property or a
    component?

    The object inspector displays all of the publish properties for the
    component.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2005
    OK, that was a little too abstract.

    What I want to do is to hide the datapipeline property from a SubReport
    decendant.

    Redeclaring it in the public section does not seem to change anything.

    /Steffen

  • edited September 2005

    The object inspector will display all of the published properties. Once a
    property is published in an ancestor, it cannot be unpublished in a
    descendant.

    The TppPropertyCategoryManager.GetCategoryCollectionForComponent method in
    ppInspector.pas is responsible for building the property list.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.