API:Vcl.ListActns.TCustomStaticListAction
Delphi
TCustomStaticListAction = class(TCustomListAction)
C++
class PASCALIMPLEMENTATION TCustomStaticListAction : public TCustomListAction
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
class | public | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | Vcl.ListActns |
説明
TCustomListAction は,クライアントコントロールに項目を提供するアクションオブジェクトの基本クラスです。
Vcl.ListActns.TCustomStaticListAction は Vcl.ListActns.TCustomListAction を継承しています。以下の内容はすべて Vcl.ListActns.TCustomListAction を参照しています。
TCustomListAction は,クライアントコントロールに項目を提供するアクションオブジェクトの基本クラスです。
TCustomListAction は,リストビュー,リストボックス,またはコンボボックスに項目を提供するアクションに共通の動作を実装します。
アプリケーションでリストアクションの Active プロパティを true に設定すると,そのアクションはすべてのクライアントリストボックスおよびコンボボックスに項目を代入します。各項目には,テキストのキャプション,イメージ,データへのポインタなどの情報を代入できます。
ユーザーがいずれかのクライアントコントロールの項目を選択すると,クライアントはリストアクションを「実行」して,OnItemSelected イベントを生成します。
TCustomListAction は,アクションマネージャに追加されるときに,そのアクションを使ってツールバーにドロップダウンリストを生成します。