Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何设置插入符号的位置,只有
this.caretIndex(阅读)
采用setSelection(beginIndex:int, endIndex:int):void
setSelection(beginIndex:int, endIndex:int):void
例如
this.textField.setSelection(20, 20)