Vcl.ListActns.TCustomListAction

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

Vcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomListAction

Delphi

TCustomListAction = class(TCustomAction)

C++

class PASCALIMPLEMENTATION TCustomListAction : public Vcl::Actnlist::TCustomAction

プロパティ

種類 可視性 ソース ユニット
class public
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns Vcl.ListActns

説明

TCustomListAction は,クライアントコントロールに項目を提供するアクションオブジェクトの基本クラスです。

TCustomListAction は,リストビュー,リストボックス,またはコンボボックスに項目を提供するアクションに共通の動作を実装します。

アプリケーションでリストアクションの Active プロパティを true に設定すると,そのアクションはすべてのクライアントリストボックスおよびコンボボックスに項目を代入します。各項目には,テキストのキャプション,イメージ,データへのポインタなどの情報を代入できます。

ユーザーがいずれかのクライアントコントロールの項目を選択すると,クライアントはリストアクションを「実行」して,OnItemSelected イベントを生成します。

TCustomListAction は,アクションマネージャに追加されるときに,そのアクションを使ってツールバーにドロップダウンリストを生成します。

関連項目