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

Report Explorer: Limiting Double-click on reports

edited November 2005 in End User
I want to be able to allow the user in the report explorer to double-click
each report and it will go to print preview, not to the eidt screen. I would
rather them select the report and hit the edit button on the toolbar if they
want to edit. Suggestions? Thanks!

Comments

  • edited November 2005

    You can use the TppReportExplorer.ItemAction property to control this. The
    following is from the RBuilder.hlp file....

    Declaration
    ------------

    property ItemAction: TppItemActionType;

    Description
    ------------

    This property controls what happens when the user double-clicks on a
    report or selects the Open menu option with the list view selected. The
    possible values are:

    Value Meaning
    ------
    ioOpenToDesign Causes the Report Explorer to display the Report
    Designer when the user opens a report or
    double-clicks
    on a report. This option is only valid when
    ItemOptions
    allows design.

    ioOpenToPreview Causes the Report Explorer to display the Print Preview
    Window when the user opens a report or
    double-clicks on
    a report.

    Notes: ItemAction must be set before the Report Explorer Execute method is
    called. Changes made to this property after the Report Explorer form has
    been displayed are ignored.




    Best regards,

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