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

The RightTextAlignment property specifies how the text at the right side of the numeric label (property RightText) is aligned within the text field. RightTextAlignment 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