iOSTextField.TextAlignment
From Xojo Documentation
Property (As Xojo.iOSTextAlignment )
aiOSTextField.TextAlignment = newXojo.iOSTextAlignmentValue
or
Xojo.iOSTextAlignmentValue = aiOSTextField.TextAlignment
Supported on Mobile (iOS).
or
Xojo.iOSTextAlignmentValue = aiOSTextField.TextAlignment
Supported on Mobile (iOS).
The alignment for the text.
Sample Code
Center-align the text:
TextField1.TextAlignment = iOSTextAlignment.Center