Vcl.ExtCtrls.TPanel.Alignment

From RAD Studio API Documentation

Delphi

property Alignment: TAlignment read FAlignment write SetAlignment default 2;

C++

__property Alignment = {default=2};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TPanel

Description

Determines how the caption is aligned within the panel. {{#multireplace:Vcl.ExtCtrls.TPanel.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ExtCtrls.TCustomPanel.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ExtCtrls.TCustomPanel.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Determines how the caption is aligned within the panel.

Use the Alignment property to specify if the caption of a panel appears on the left, right, or center of the panel. For example, to use a panel as a status bar that displays the TApplication. ::Hint property as the panel's Caption property, set Alignment to taLeftJustify to place the hint text on the left side of the panel.

Note: Use the VerticalAlignment property to control the vertical position of the caption.

See Also