I would like to focus on the end of the TextField when I press the up arrow. I use:
txt.setSelection(txt.text.length,txt.text.length);
This works great for any key except the up arrow. I believe the up arrow automatically sets the selection to the beginning of the TextField when it is in focus. How can I override this default behavior?
source share