Vcl.DBGrids.TColumnTitle.Caption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Caption: string read GetCaption write SetCaption stored IsCaptionStored;

C++

__property System::UnicodeString Caption = {read=GetCaption, write=SetCaption, stored=IsCaptionStored};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TColumnTitle

Description

Specifies the text that appears at the top of the column.

The Caption property contains a text string that identifies the column. If the dgTitles flag is set in the data grid's Options property, the title appears on the form at runtime.

If the FieldName property is set in TColumn, the Caption default value comes from the DisplayLabel property of the Field object, which itself defaults to FieldName.

See Also