我没有用过FR的PREVIEW控件,下面是关于截获Listbox的滚动事件,你看看思路,<br>不知是否有用。<br><br>unit Unit1;<br><br>interface<br><br>uses<br> Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,<br> StdCtrls;<br><br>type<br> TForm1 = class(TForm)<br> ListBox1: TListBox;<br> Button1: TButton;<br> procedure FormCreate(Sender: TObject);<br> private<br> { Private declarations }<br> FOldProc : TWndMethod;<br> procedure MyProc(var Message:TMessage);<br> public<br> { Public declarations }<br> end;<br><br>var<br> Form1: TForm1;<br><br>implementation<br><br>{$R *.DFM}<br><br>procedure TForm1.FormCreate(Sender: TObject);<br>begin<br> FOldProc := Listbox1.WindowProc;<br> ListBox1.WindowProc := MyProc; <br>end;<br><br>procedure TForm1.MyProc(var Message: TMessage);<br>begin<br> if message.Msg = WM_VSCROLL then<br> begin<br> showmessage('scrolled!');<br> end;<br> FOldProc(message);<br>end;<br><br>end.<br>