Can you not just set those styles?

<mx:TextArea enabled="false" disabledColor="0xFF0000" text="Some 
text" backgroundColor="0xC0C0C0"/>

Just use disabledColor instead of color in your css, mxml, or script.


--- In [email protected], "jpc14_99" <[EMAIL PROTECTED]> wrote:
>
> Thanks.  That does make the textArea unselectable but 
unfortunately 
> it also wipes out my background color and text color.  For the 
life 
> of me I don't understand why Flex doesn't have a simple selectable 
> attribute included with textArea.
> 
> 
> --- In [email protected], "Doug Lowder" <douglowder@> 
> wrote:
> >
> > Try this:
> > 
> > <mx:TextArea enabled="false" disabledColor="0x333333" 
> >     text="Some text" />
> > 
> > 
> > --- In [email protected], JClouz <jclouser@> wrote:
> > >
> > > I'm sorry to be a bother but this seems like it should be so 
easy 
> > but its driving me nuts.
> > > 
> > > I want to get rid of selectability/i-beam mouseover cursor on 
a 
> > textArea field.
> > > 
> > > With a Text component, you just set. myText.selectability = 
false.
> > > 
> > > How do I do it for a textArea field?  Can it be done?  I want 
to 
> > use textArea instead of text because I need a background.
> > > 
> > > Please help!!!
> > > 
> > > Thanks so much.
> > > 
> > > Jamie
> > > MKCNSC, inc.
> > >
> >
>







--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to