The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property Alignment: TAlignment;

The Alignment property specifies how the numeric label is aligned within the box. Alignment can take the following values:

taLeftJustify Align text to the left side of the label
taCenter Center text in the label
taRightJustify Align text to the right side of the label

Example: This property is used in the following example program (see for downloading the code): numlabel

Last Update: 2012-Okt-20