Show: Delphi C++
Display Preferences

Vcl.ExtCtrls.TCustomPanel.Alignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Alignment: TAlignment read FAlignment write SetAlignment default taCenter;

C++

__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=2};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomPanel

Description

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

Personal tools
In Other Languages
Previous Versions
Assistance