RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TImage.OnProgress Event

Occurs periodically during slow operations that affect the image.

Pascal
property OnProgress: TProgressEvent;
C++
__property TProgressEvent OnProgress;

Write an OnProgress event handler to provide the user with feedback during slow operations such as loading large compressed images.

Note: The PercentDone parameter of the event handler is only an approximation. With some image formats, the value of PercentDone may actually decrease from the value in previous events, as the graphic object discovers there is more work to do.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!