Sign in Join
FPDoc Onlineexperiment

THeaderSection.Text property

Member of THeaderSectionpublishedIn unit ComCtrls

The text displayed on the header section.

Declaration

pascal
property Text: TCaption read FText write SetText;

Description

Text is a TCaption property which contains the textual value displayed on the header section. Along with the image specified in ImageIndex, it determines the content drawn for the section in the PaintSection method of the THeaderControl.

Changing the value for the property causes the collection item to be updated in its collection.

Use Alignment to set the horizontal alignment for the value in Text.

Use ImageIndex to specify the position for the image drawn on the header section.

Use Visible to indicate whether the header section is visible on the header control.

Use Width to specify the cumulative width for the image and text on the header section.

See also

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