Skip to content

TTMSFMXNativeUITextView

Usage

The TMSFMXNativeUITextView class implements the behavior for a scrollable, multiline text region. The class supports the display of text using custom style information and also supports text editing. You typically use a text view to display multiple lines of text, such as when displaying the body of a large text document.

Events

Event name Description
OnChanged Event called when the text of the TextField has changed.
OnDidBeginEditing Event called when editing did begin.
OnDidChangeSelection Event called when selection of the text did change.
OnDidEndEditing Event called when editing did end.
OnShouldBeginEditing Event called when editing should begin.
OnShouldChangeTextInRange Event called when a specified text in range should be changed. The TextView calls this event whenever the user types a new character or deletes an existing character. Implementation of this method is optional. You can use this method to replace text before it is committed to the TextView storage. For example, a spell checker might use this method to replace a misspelled word with the correct spelling.
OnShouldEndEditing Event called when editing should end.