8

如何设置插入符号的位置,只有

this.caretIndex(阅读)

4

1 回答 1

17

采用setSelection(beginIndex:int, endIndex:int):void

例如

this.textField.setSelection(20, 20)
于 2009-02-11T14:23:50.520 回答