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 LeftTextAlignment: TAlignment;

The LeftTextAlignment property specifies how the text at the left side of the numeric label (property LeftText) is aligned within the text field. LeftTextAlignment can take the following values:

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

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

Last Update: 2012-Okt-20