Vcl.ExtCtrls.TPanel.Alignment

From RAD Studio API Documentation
Jump to: navigation, search

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.

Vcl.ExtCtrls.TPanel.Alignment inherits from Vcl.ExtCtrls.TCustomPanel.Alignment. All content below this line refers to Vcl.ExtCtrls.TCustomPanel.Alignment.

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