Sign in Join
FPDoc Onlineexperiment

TValueListEditor.TitleCaptions property

Member of TValueListEditorpublishedIn unit ValEdit

Title captions used for columns in the control.

Declaration

pascal
property TitleCaptions: TStrings read FTitleCaptions write SetTitleCaptions;

Description

TitleCaptions is a TStrings property with the title captions used for columns in the control. TitleCaptions should have 2 lines with the titles used for the Key and Value columns in the grid.

When TitleCaptions is empty (0 lines), the values in rsVLEKey and rsVLEValue are used as the captions for the respective columns. If a line is omitted in TitleCaptions, the corresponding resource string is used as the default value for the caption.

TitleCaptions is used in the ShowColumnTitles method to assign and display the column titles. Values in TitleCaptions are updated when LoadContent or LoadFromCSVStream is called. Changing values in TitleCaptions causes the control to be redrawn.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.