We've tested this here and it is working fine on our machines. We'll run it on a slower performance machine to see if there is any further optimizations we can add.
Well regarding the video card, it an Intel 82815 Graphics Controler (on board), and i am using a Pentium III 800 MHz computer, with windows 2000.
Anyway i did the following "trick" and seems that the problem has been solved.. I ceated a descendant of tppviewer and i overrided the loaded method where I added the following line of code ScrollBox.DoubleBuffered:=True;
I don't know how much memory consuming is this solution but the scrollbox doen't flicker any more
Comments
generate the pages as you preview them.
For a OnePass report, try this:
...
uses
ppTypes, ppViewr, ppDevice;
procedure TForm1.Button1Click(Sender: TObject);
var
lDevice: TppDevice;
begin
lDevice := TppDevice.Create(Self);
lDevice.PageSetting := psAll;
lDevice.Publisher := ppReport1.Publisher;
ppReport1.CachePages := True;
ppReport1.PrintToDevices;
ppReport1.Print;
end;
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
page left or right..
on a slower performance machine to see if there is any further optimizations
we can add.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
board), and i am using a Pentium III 800 MHz computer, with windows 2000.
Anyway i did the following "trick" and seems that the problem has been
solved..
I ceated a descendant of tppviewer and i overrided the loaded method where I
added the following line of code
ScrollBox.DoubleBuffered:=True;
I don't know how much memory consuming is this solution but the scrollbox
doen't flicker any more
Yiannis