Set IncrementalDisplay to True on large compressed images that take a long time to load or on images that may be altered by a computationally slow process. When IncrementalDisplay is True, partial renderings of the image are drawn periodically during slow operations such as loading. Set IncrementalDisplay to False to wait until the entire operation is complete before drawing the image.
For some classes of graphic objects, an OnProgress event occurs at various points during slow operations. If IncrementalDisplay is True, the OnProgress event occurs immediately after the approximate image is drawn. If IncrementalDisplay is False, OnProgress occurs but the image is not updated until the entire image has been loaded.
The default value for IncrementalDisplay is False.
已经解决了!谢谢!
procedure TForm2.Image1Progress(Sender: TObject; Stage: TProgressStage;
PercentDone: Byte; RedrawNow: Boolean; const R: TRect;
const Msg: String);
begin
// if Stage=psStarting then
// form2.Hide;
if Stage=psRunning then
form1.ProgressBar1.Position:=PercentDone;
// if Stage=psEnding then
// form2.Show;
end;