RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPanel.Alignment Property

Determines how the caption is aligned within the panel.

Pascal
property Alignment: TAlignment;
C++
__property TAlignment Alignment;

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!