User Guide
TextInput component 747
Properties inherited from the UIObject class
The following table lists the properties the TextInput class inherits from the UIObject class.
When accessing these properties from the TextInput object, use the form
TextInputInstance.propertyName.
TextInput.length The number of characters in a TextInput component. This property
is read-only.
TextInput.maxChars The maximum number of characters that a user can enter in the text
field.
TextInput.maxHPosition The maximum possible value for TextField.hPosition. This
property is read-only.
TextInput.password A Boolean value that indicates whether the text field is a password
field that hides the entered characters.
TextInput.restrict Indicates which characters a user can enter in a text field.
TextInput.text Sets the text content of a TextInput component.
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.
UIObject.x The left edge of the object, in pixels. Read-only.
UIObject.y The top edge of the object, in pixels. Read-only.
Property Description