不是你用什么显示数据。只要测试一下keyPress事件就行了,如果是PageUp键,
就query1.move(-20),如果是PageDown,就query1.move(20)
....OnKeyPress;
begin
try
if Key=PageDown then begin
query1.move(20);
end;
if Key=PageUp then begin
query1.move(-20);
end;
finally
if query1.eof then query1.Last;
if query1.bof then query1.First;
end;
end;