Vcl.ExtCtrls.TImage.OnProgress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnProgress: TProgressEvent read FOnProgress write FOnProgress;

C++

__property Vcl::Graphics::TProgressEvent OnProgress = {read=FOnProgress, write=FOnProgress};

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TImage

Description

Occurs periodically during slow operations that affect the image.

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.

OnProgress is an event handler of type Vcl.Graphics.TProgressEvent.

See Also