Vcl.ValEdit.TValueListEditor.TitleCaptions

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

Delphi

property TitleCaptions: TStrings read FTitleCaptions write SetTitleCaptions stored TitleCaptionsStored;

C++

__property System::Classes::TStrings* TitleCaptions = {read=FTitleCaptions, write=SetTitleCaptions, stored=TitleCaptionsStored};

プロパティ

種類 可視性 ソース ユニット
property published
Vcl.ValEdit.pas
Vcl.ValEdit.hpp
Vcl.ValEdit TValueListEditor

説明

値リストエディタの列にラベルを付けるキャプションを指定します。

TitleCaptions プロパティを使用すると,値リストエディタの列にタイトルを提供できます。TitleCaptions は,2 つの文字列を含む TStrings の下位オブジェクトです。最初の文字列は名前列(キー列)にラベルを付け,2 つめの文字列は値列にラベルを付けます。TitleCaptions に入っている文字列が 2 つ未満の場合は,抜け落ちたキャプションは空の文字列として処理されます。TitleCaptions に入っている文字列が 2 つより多い場合は,最初の 2 つ以外のすべての文字列は無視されます。

メモ:  TitleCaptions は,DisplayOptions プロパティに doColumnTitles が入っている場合にのみ使用されます。

関連項目