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

ReportExplorer events for folder and item options

edited September 2010 in General
Delphi 6, RB Ent 11.08.

Is there any way of knowing if a user has chosen to perform any of the tasks
available for folders and items in ReportExplorer, such as rename, create
new, delete or move?

We provide a basic structure of folders, and want the users to be able to
add extra folders and move the reports around to suit them, but I'd like to
prevent them from renaming and deleting the "system" folders that we give
them to start with. Is this possible?

Thanks,
Jason.

--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK

Payroll - HR - T&A - Access Control

Comments

  • edited September 2010
    Hi Jason,

    The ReportExplorer form simply contains a TTreeView component to handle the
    folder UI. This is a public property of the explorer form named trvFolders
    (see the ppExpFrm.pas file).

    One option is to manually access the explorer form using the
    TppReportExplorer.Form property. Another would be to replace the existing
    explorer form with a custom one that implements the events of the TreeView
    that you need to limit what the users can do.

    For an example of customizing the explorer form, take a look at the tutorial
    located in the ...\Tutorials\Complete\II. Applications\04. End-User with
    Custom Explorer\... directory.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.