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

Set ReportExplorer.FolderOptions

edited July 2008 in General
How can I change the ReportExplorer.FolderOptions or
ReportExplorer.ItemOptions ?

In My delphi code i'm trying

ReportExplorer.ItemOptions := [ioAllowDesign];

No success

Comments

  • edited July 2008

    Add ppRptExpCommon to the uses clause. (Btw, I used Delphi's Search | Find
    In Files feature to determine which unit defined the enum. Most of the RB
    enums are defined in ppTypes, but that one is not)

    In your Delphi code, you need to set the ReportExplorer.ItemOptions at
    startup - prior to calling ReportExplorer.Execute. When the
    ReportExplorer.Execute is called, ReportExplorer creates the
    ReportExplorerForm and assigns those properties. Thereafter, setting those
    properties will have no effect.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

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