|
Selection.setFocus(yourField.text.length,
yourField.text.length);
----- Original Message -----
From: Andora, Greg
Sent: Friday, March 18, 2005 8:13 PM
Subject: [flexcoders] Unselecting text in a field using
AS If I use actionScript to send focus to a textInput or editable comboBox Flex automatically selects the contents in that field. Is there a way I can unselect the text? I've tried resetting the value of the text property, but it doesn't unselect the contents. What I'd like to do is unselect the contents and move the cursor to the end of the text in the field. Thanks in advanced, ----
Yahoo! Groups Links
|
Title: Unselecting text in a field using AS

