Vcl.ComCtrls.TToolButton.GetActionLinkClass

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

Delphi

function GetActionLinkClass: TControlActionLinkClass; override;

C++

DYNAMIC Vcl::Controls::TControlActionLinkClass __fastcall GetActionLinkClass();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

説明

TToolButtonActionLink を返します。

GetActionLinkClass は,ツールボタンに使用されるアクションリンクの適切なクラス型を返します。このクラスは内部で使用され,関連付けられたアクションがあるときにツールボタンのアクションリンクオブジェクトを作成します。各 Action リンククラスは,クライアントがサポートするプロパティの型に基づいて,特定のプロパティとアクションのイベントハンドラとをリンクするように設計されています。

TToolButton で実装されている GetActionLinkClass は,TToolButtonActionLink クラス型を返します。これは,DownImageIndex,ShowHint,Caption,Enabled,および Visible プロパティと OnClick イベントハンドラを関連付けます。

関連項目