selectedRange

Typeproperty
Dictionaryandroid.field
LibraryAndroid Native Field
Syntax
set the selectedRange of <widget> to <pRange>
get the selectedRange of <widget>
Associationscom.livecode.widget.native.android.field
Summary

The range of text of the widget that is selected.

OSandroid
Example
-- Select the first 20 chars of the field widget
set the selectedRange of widget "Android Text" to "1,20"
Values
NameTypeDescription
Value

A comma-delimiter pair of the (1-based) start index and length.

Description

Use the selectedRange property to determine the start index and the length of the text that is to appear as selected.