Sign in Join
FPDoc Onlineexperiment

TCustomPanel.Alignment property

Member of TCustomPanelpublicIn unit ExtCtrls

Alignment - whether text is left or right justified, or centered.

Declaration

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

Description

Alignment is a TAlignment property that indicates how the text (or Caption) is aligned on the panel. The default value for the property is taCenter, and causes text to be aligned to the center of the panel. Changing the value in Alignment causes the Invalidate method to be called to repaint the control.

See also

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