procedure TQRArea.WMVSCroll(var Msg:TWMVSCroll);
var
//滚动条信息
SI: TScrollInfo;
pos: integer;
i: integer;
begin
inherited;
pos := 0;
SI.cbSize := SizeOf(TScrollInfo);
SI.fMask := SIF_ALL;
for i :=0 to ControlCount - 1 do
begin
if Controls is TQRTable then
begin
if Pos < Controls.Top + Controls.Height then
pos := Controls.Top + Controls.Height;
end;
end;