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
Comments
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