Return to Snippet

Revision: 23108
at January 30, 2010 07:18 by arthipesa


Initial Code
import mx.events.FlexEvent;

// Flex 4
private function creationComplete(event:FlexEvent):void
{
    textInput.selectRange(textInput.text.length, textInput.text.length);
    textInput.setFocus();
}

Initial URL
http://code.arthipesa.com/

Initial Description

                                

Initial Title
Setting cursor position at the end of a TextInput control

Initial Tags
actionscript, Flex

Initial Language
ActionScript 3