Sign in Join
FPDoc Onlineexperiment

THeaderSection.Alignment property

Member of THeaderSectionpublishedIn unit ComCtrls

Alignment - whether text is to be left or right justified or centered.

Declaration

pascal
property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;

Description

Alignment is a TAlignment property which indicates the horizontal alignment used to display the Text for the header section. The default value for the property is taLeftJustify. See TAlignment for the values allowed in the property.

Changing the value for the property causes the Changed method to be called to update the item in its collection.

Alignment is used in the PaintSection method in TCustomHeaderControl when the image, text, and drawing state are used to render the section on the control canvas.

See also

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