Problems with frPreview

Hello

Iam trying to place a preview panel in a tab of a page control. How do I do to close / and free the Preview to be able to load a new report in the same Preview window in a PC tab? Iam using Loadfromfile(OpenDialog.Filename)

Iam using D7

/Stiffe

Comments

  • SamuraySamuray Administrator
    edited 2:18AM
    Use TfrPreview component for making of the custom preview.
    In tfrReport set property preview.
  • edited 2:18AM
    Samuray wrote:
    Use TfrPreview component for making of the custom preview.
    In tfrReport set property preview.
    Yeahh so far I got it. But when I put frPreview on a PageControl page and then after running the software, when pressing close button in the frPreview toolbar nothing happens? I dosen??t close.

    /Stiffe
  • edited 2:18AM
    Call frPreview1.Clear - it clears the previewed report.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.