Vcl.Graphics.TGraphic.Progress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Progress(Sender: TObject; Stage: TProgressStage;
PercentDone: Byte;  RedrawNow: Boolean; const R: TRect; const Msg: string); dynamic;

C++

DYNAMIC void __fastcall Progress(System::TObject* Sender, TProgressStage Stage, System::Byte PercentDone, bool RedrawNow, const System::Types::TRect &R, const System::UnicodeString Msg);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Generate OnProgress event when graphic is changing.

Progress generates an OnProgress event when the graphic 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 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.

See Also