Posted By

arthipesa on 01/30/10


Tagged

actionscript Flex TextInput 4


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

TrentSkunk


Setting cursor position at the end of a TextInput control


 / Published in: ActionScript 3
 

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

  1. import mx.events.FlexEvent;
  2.  
  3. // Flex 4
  4. private function creationComplete(event:FlexEvent):void
  5. {
  6. textInput.selectRange(textInput.text.length, textInput.text.length);
  7. textInput.setFocus();
  8. }

Report this snippet  

You need to login to post a comment.