Minor annoyance here but I can’t seem to get the text of a textinput field to highlight properly. It’s as if the setFocus occurs before the textinput value is set so the cursor is just placed at index 0 of the field. Also tried explicitly selection the text in the field using setSelection but alas, no effect.

 

Myfield.text = “blah”;

Myfield.setFocus();  (or Selection.setFocus(Myfield))

 

Appreciate any insight,

Gracias,

Stace



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to