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

最佳答案

使用setSelection(beginIndex:int, endIndex:int):void例如

this.textField.setSelection(20, 20)

关于actionscript-3 - TextField()设置插入符位置,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/536986/

10-11 00:29