To do that, you sublcass TextArea and set alwaysShowSelection=true on the underlying textfield.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Tuesday, May 22, 2007 1:54 AM To: [email protected] Subject: RE: [flexcoders] Re: How to keep TextArea from losing focus? No, what I want is for the selection to always show up in a TextArea, even when the selection has moved onto another control. Specifically, I have another control, which can popup in certain situations, to allow the user to configure the selected text. However, when the popup appears, it gains the focus, removes it from the initial TextArea, and the user can no longer see what text they had selected. Thanks, Mark ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dfortenberry Sent: 21 May 2007 15:54 To: [email protected] Subject: [flexcoders] Re: How to keep TextArea from losing focus? Mark, Just to clarify when you say 'focus', do you mean that you want the users cursor to always be in a specific form item? Are you looking for a Flex equivalent of the following javascript?: onblur="this.focus()" so that the cursor stays in the specific form input? --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Mark Ingram" <[EMAIL PROTECTED]> wrote: > > Hi, how can I stop a text area from losing focus? I always want it to > show the selection, no matter if the user is in another control. > > > > Any clues? > > > > Mark >

