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

Scroll wheel in preview

edited May 2004 in General
Hello

is it possible to use the scroll wheel in the preview

Met vriendelijke groet, With kind regards,


Frank Beerens

Comments

  • edited May 2004
    Hi Frank,

    Mouse scrolling in the Preview will be available in the next release of
    ReportBuilder. In the meantime, the following example shows how you can
    enable it currently. Simply add the MouseWheelPlugin.pas file in your
    project and rebuild.

    http://www.digital-metaphors.com/tips/PreviewWithMouseWheel.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2004
    Hello Nico

    i tried this in D5 but this does not compile because Tcontrol has no
    property onMouseWheel
    Is there some other solution

    TppCustomWheel = class(TControl)
    public
    property OnMouseWheel;

    frank


  • edited May 2004
    Hi Frank,

    I believe if you change the TppCustomWheel class to descend from
    TWinControl, the plugin will still work. You may also need to change the
    uses clause to work with Delphi 5.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.