Vcl.ActnMan.TCustomActionBar.OnGetControlClass

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

Delphi

property OnGetControlClass: TGetControlClassEvent read FOnGetControlClass  write FOnGetControlClass;

C++

__property TGetControlClassEvent OnGetControlClass = {read=FOnGetControlClass, write=FOnGetControlClass};

プロパティ

種類 可視性 ソース ユニット
event public
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionBar


説明

アイテムがアクション バンド上に配置された際に発生します。

OnGetControlClass イベント ハンドラを記述すると、指定されたアクション クライアントを表すために、アクション バンドが作成しなければならない、アイテムのクラスを指定することができます。

Sender は、アクション クライアントを表すために、子コントロールを生成しなければならない、アクション バンドです。

AnItem は、新しいクライアントが表現しなければならない、アクション クライアントです。

ControlClass は、新しいコントロールへのクラス参照を返します。これは、TCustomActionControl の下位クラスでなければなりません。

関連項目