• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    UITextField

    Inherits from:

    Properties

    Indicates if the placeholder should be visible when the field is focused in, but empty. Works only for mobile platforms, on desktop, the behaviour is equivalent to this flag being set to true

    autoCorrection

    boolean
    ClientOnly

    cursorColor

    ClientOnly
    ReadOnly

    cursorIndex

    number
    ClientOnly

    cursorPosition

    ClientOnly
    ReadOnly

    disableAutocorrection

    boolean
    ClientOnly

    doubleClickSelectsWord

    boolean
    ClientOnly

    enableMarkup

    boolean
    ClientOnly

    Allows the text field to accept rich text.

    hideMobileInput

    boolean
    ClientOnly

    inputLengthLimit

    number
    ClientOnly

    isDelayed

    boolean
    ClientOnly

    isPasswordField

    boolean
    ClientOnly

    isReadOnly

    boolean
    ClientOnly

    label

    string
    ClientOnly

    labelElement

    ClientOnly
    ReadOnly

    maskChar

    Char
    ClientOnly

    maxLength

    number
    ClientOnly

    selectAllOnFocus

    boolean
    ClientOnly

    selectAllOnMouseUp

    boolean
    ClientOnly

    selectIndex

    number
    ClientOnly

    selectionColor

    ClientOnly
    ReadOnly

    showClearButton

    boolean
    ClientOnly

    Set to true to show a clear button on the right side of the text input when text is available.

    showMixedValue

    boolean
    ClientOnly

    showSearchIcon

    boolean
    ClientOnly

    Set to true to show a search icon on the left side of the text field

    text

    string
    ClientOnly
    ReadOnly

    textEdition

    ITextEdition
    ClientOnly
    ReadOnly

    textSelection

    ITextSelection
    ClientOnly
    ReadOnly

    tripleClickSelectsLine

    boolean
    ClientOnly

    Methods

    BlurOnReturn

    ClientOnly

    Returns

    void

    Dispose

    ClientOnly

    Returns

    void

    Returns true if a text field currently has focus

    Returns

    boolean

    LeftTextMargin

    ClientOnly

    Returns

    number

    Returns

    number

    SelectAll

    ClientOnly

    Returns

    void

    SelectNone

    ClientOnly

    Returns

    void

    SelectRange

    ClientOnly

    Parameters

    cursorIndex
    number
    selectionIndex
    number

    Returns

    void

    Parameters

    value
    string

    Returns

    void

    Parameters

    str
    string

    Returns

    void

    Parameters

    newValue
    string

    Returns

    void

    Updated 24 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.