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

Launch Report window as child to TScrollbox

edited August 2004 in General
Is it possible to show the report preview window in a TScrollbox? If so can
you provide that code?

Typically you can use a Tform like this :
sbMyScrollBox.WndCreate(frmLeads, TfrmLeads, TRUE);

I can then hide or destroy it.

Thanks

Comments

  • edited August 2004

    Have a look at RBuilder\Source\ppPrvDlg.pas. That unit contains the source
    code to the preview dialog. It creates an instance of the TppPreview class.
    The TppPreview class is used by the report designer and the preview dialog
    to create a viewer plus toolbars. You pass the parent (i.e. a form or panel
    to the constructor.).



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2004
    Thank you
This discussion has been closed.