Vcl.Graphics.TGraphic.OnProgress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnProgress: TProgressEvent read FOnProgress write FOnProgress;

C++

__property TProgressEvent OnProgress = {read=FOnProgress, write=FOnProgress};

Properties

Type Visibility Source Unit Parent
event public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Occurs when a graphical image is in the process of changing.

For certain descendants of TGraphic, OnProgress occurs during slow processes such as loading, storing, or transforming image data. OnProgress allows applications to provide feedback to the user about the progress of the slow process.

Component writers can generate OnProgress events for new descendants of TGraphic by calling the protected Progress method. These events are propagated to the TPicture and TImage objects.

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

See Also