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

Support for Mouse Scroll Wheel in version 6.03

edited November 2014 in General
While I am purchasing XE7 tomorrow, I still am going to be a ways from
upgrading ReportBuilder and or my app that I just completed using
ReportBuider. In the meantime, is there a way to scroll the ppView when a
user uses their mouse wheel? Thanks.

Comments

  • edited November 2014
    Please configure your newsreader client to post using your real name. :)

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
    uses their mouse wheel? Thanks.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2014
    Is it now configured correctly. If not, I am
    Robert Griffin
    President, Real Solutions, Inc.
    griffin@realsol.com.


  • edited November 2014
    Hi Robert,

    Thank you for altering your news reader settings.

    Mouse wheel support for the viewer is done manually using the
    OnMouseWheel event of the form. Something like the following...

    procedure TForm1.FormMouseWheel(Sender: TObject; Shift: TShiftState;
    WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
    begin

    //Pre RB 14
    Viewer.ScrollBox.VertScrollBar.Position :=
    Viewer.ScrollBox.VertScrollBar.Position - (WheelDelta div 5);

    //RB 14 +
    //Viewer.VerticalScroll(WheelDelta div 5);

    end;



    Best Regards,

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