Vcl.StdActns.TCommonDialogAction.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 TCommonDialogAction

説明

コンポーネントが生成または破棄されたときに応答します。 {{#multireplace:Vcl.StdActns.TCommonDialogAction.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:System.Classes.TBasicAction.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:System.Classes.TBasicAction.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。


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


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

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

関連項目