加一个鼠标滚动事件Procedure OnMouseWheel(Var Msg :TMsg;var Handled:Boolean);procedure TFfysz.OnMouseWheel(var Msg: TMsg; var Handled: Boolean);begin if Msg.message = WM_MouseWheel then begin if Msg.wParam > 0 then begin if DBGrid1.Focused then DBGrid1.DataSource.DataSet.Prior; end else begin if DBGrid1.Focused then DBGrid1.DataSource.DataSet.Next; end; Handled:= True; end;end;在FormShow事件加一句Application.OnMessage:=OnMouseWheel;