I use Flex 4.5. I want to set cursor position based on integer variable. For example if my variable value is 5 then cursor in textbox will point to position 5. So there is any way to achieve this??
Thanks in Advance.
textInput.setFocus();
textInput.selectRange(caretPosition, caretPosition);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.