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

change the scroll bar position

edited September 2005 in End User
how can i change the scroll bar position in code ?

and set it to right ?

Comments

  • edited September 2005

    The TppViewer.Scrollbox property provides access to the scrollbox. The
    Scrollbox VertScrollBar and HorzScrollbar properties can be used to set the
    scrolling position.

    There are a few options for getting access to the viewer:

    1. Use the Report.OnPreviewFormCreate event to access the Report.PreviewForm

    2. Create a custom preview dialog and register it with ReportBuilder. See
    ppPrvDlg.pas in RBuilder\Source

    3. Create a custom preview plug-in that is used by the preview dialog and
    the report designer. See ppPreview.pas in RBuilder\Source.


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


    Best regards,

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