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.
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.
Comments
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
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com