EditField.Alignment Property
Syntax
Alignment as Integer
Sets paragraph alignment for entire contents of EditField. Works for single-line EditFields (Carbon) and multi-line EditFields.You can use either the integer values or the class constants, AlignDefault, AlignLeft, AlignCenter, or AlignRight, to set or get the alignment:
AlignDefault (0): Default alignment)
AlignLeft (1): Left aligned
AlignCenter (2): Centered)
AlignRight (3): Right aligned
Use SelAlignment to set paragraph alignments for individual paragraphs.
Currently the Default alignment is the same as Left aligned.
(Setting the alignment on Linux requires GTK+ 2.4 or greater)