ReportExplorer events for folder and item options
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com