Vcl.StdActns.TWindowAction.Notification

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

Delphi

procedure Notification(AComponent: TComponent; Operation: TOperation); override;

C++

virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);

プロパティ

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

説明

コンポーネントが生成または破棄されたときに応答します。

Vcl.StdActns.TWindowAction.Notification は System.Classes.TBasicAction.Notification を継承しています。以下の内容はすべて System.Classes.TBasicAction.Notification を参照しています。


コンポーネントが生成または破棄されたときに応答します。


Notification メソッドは、アプリケーションで呼び出さないでください。Notification は、AComponent で指定されたコンポーネントが、Operation で指定された操作(挿入または削除)を受けようとするときに自動的に呼び出されます。

TBasicAction では、System.Classes.TComponent.Notification メソッドをオーバーライドします。Notification は、AComponent で指定されたコンポーネントが、ActionComponent プロパティに格納されているコンポーネントと同じかどうか、そして、解放されようとしているかどうかを確かめます。その場合、NotificationActionComponent プロパティを nil(Delphi の場合)または NULL(C++ の場合)に設定します。

関連項目