Vcl.ValEdit.TValueListEditor.TitleCaptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TitleCaptions: TStrings read FTitleCaptions write SetTitleCaptions stored TitleCaptionsStored;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Vcl.ValEdit.pas
Vcl.ValEdit.hpp
Vcl.ValEdit TValueListEditor

Description

Specifies the captions that label the columns of the value list editor.

Use TitleCaptions to provide titles for the columns of the value list editor. TitleCaptions is a TStrings descendant that contains two strings: the first string labels the name (key) column, and the second string labels the value column. If TitleCaptions contains less than two strings, missing captions are treated as empty strings. If TitleCaptions contains more than two strings, all strings except the first two are ignored.

Note: TitleCaptions is only used when the DisplayOptions property includes doColumnTitles.

See Also