Android Native Field

Typewidget
Dictionaryandroid.field
LibraryAndroid Native Field
Associationscom.livecode.widget.native.android.field
Summary

This widget is a native field on Android.

OSandroid
Description

This widget is a native field on Android.

TypeNameSummarySyntax
messagecloseField

Sent to a field when the focus is being removed from that field and the field's content has changed.

closeField

- - -exitField

Sent to the field with the selection when the selection is being removed from the field, and its contents have not changed.

exitField

- - -openField

Sent to an unlocked field when you click or select text in that field.

openField

- - -textChanged

Sent when the native field widget text is changed.

textChanged

propertyautoCapitalizationType

The auto-capitalization behavior of the field widget.

set the autoCapitalizationType of <widget> to <pType>

get the autoCapitalizationType of <widget>

- - -autoCorrectionType

The auto-correction behavior of the field widget.

set the autoCorrectionType of <widget> to <pType>

get the autoCorrectionType of <widget>

- - -contentType

What kind of content the field contains.

set the contentType of <widget> to <pType>

get the contentType of <widget>

- - -dataDetectorTypes

What types of data should be clickable in the field.

set the dataDetectorTypes of <widget> to <pType>

get the dataDetectorTypes of <widget>

- - -editable

Whether the field can be edited or not

set the editable of <widget> to {true | false}

get the editable of <widget>

- - -enabled

Whether the field is active and responds to user action

set the enabled of <widget> to {true | false}

get the enabled of <widget>

- - -fieldTextColor

The color of the text of the field widget.

set the fieldTextColor of <widget> to <pColor>

get the fieldTextColor of <widget>

- - -focused

Whether the field is focused or not.

set the focused of <widget> to {true | false}

get the focused of <widget>

- - -keyboardType

The type of keyboard associated to the field widget.

set the keyboardType of <widget> to <pType>

get the keyboardType of <widget>

- - -multiline

Whether the field can contain multiple lines or not.

set the multiline of <widget> to {true | false}

get the multiline of <widget>

- - -passReturnKey

Whether the return key adds a new line to the field

set the passReturnKey of <widget> to {true|false}

get the passReturnKey of <widget>

- - -returnKeyType

The type of action assigned to the return key on the keyboard associated with this field widget.

set the returnKeyType of <widget> to <pType>

get the returnKeyType of <widget>

- - -scrollingEnabled

Whether the field can be scrolled or not.

set the scrollingEnabled of <widget> to {true | false}

get the scrollingEnabled of <widget>

- - -selectedRange

The range of text of the widget that is selected.

set the selectedRange of <widget> to <pRange>

get the selectedRange of <widget>

- - -text

The text contained in the field widget.

set the text of <widget> to <pText>

get the text of <widget>

- - -textAlign

The horizontal text alignment of the field widget.

set the textAlign of <widget> to <pAlign>

get the textAlign of <widget>

- - -verticalTextAlign

The vertical text alignment of the field widget.

set the verticalTextAlign of <widget> to <pAlign>

get the verticalTextAlign of <widget>

widgetAndroid Native Field

This widget is a native field on Android.

set the verticalTextAlign of <widget> to <pAlign>

get the verticalTextAlign of <widget>