Vcl.ActnMan.TCustomActionManager.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.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionManager

説明

オブジェクトが作成または破棄されたときの通知に応答します。 {{#multireplace:Vcl.ActnMan.TCustomActionManager.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:Vcl.ActnList.TCustomActionList.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:Vcl.ActnList.TCustomActionList.Notification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

オブジェクトが作成または破棄されたときの通知に応答します。

Notification メソッドは,AComponent で指定されたコンポーネントが Operation で指定されているとおりに挿入または削除されることをアクションリストに通知します。デフォルトでは,コンポーネントは自分が所有しているコンポーネント(もしあれば)に通知を送ります。

TCustomActionListNotification をオーバーライドして,リストからのイメージが破棄されたときに Image プロパティを更新し,リスト内のアクションが破棄されたときに Action プロパティを更新します。

関連項目