Vcl.Graphics.TGraphic.Progress

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

説明

グラフィックが変更されているときに OnProgress イベントを生成します。

Progress は、グラフィックが変更されているときに OnProgress イベントを生成します。

TGraphic の特定の派生クラスでは、画像データのロード、格納、または変換などの低速な処理の際に OnProgress が発生します。OnProgress を使用すると、アプリケーションは処理の進捗状況についてのフィードバックをユーザーに提供できます。

コンポーネントの開発者は、プロテクト メソッド Progress を呼び出すことによって、TGraphic の新しい派生クラスに対して OnProgress イベントを生成できます。これらのイベントは、TPicture オブジェクトおよび TImage オブジェクトに伝播されます。

関連項目