TextField

Xojo provides a TextField control for desktop, mobile and web projects:

Common members

These events and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

Events

Name

Description

TextChanged

The text has been changed.

SelectionChanged

The text selection has changed. This event is only supported for desktop projects.

Properties

Name

Description

SelectionLength

The number of characters in the section. This property is only supported for desktop projects.

SelectionStart

The position of the first character in the section. This property is only supported for desktop projects.

Text

All of the text in the TextField.