It's a bug. If it hasn't been fixed in Flex 2 Beta 2, can you file a bug
report?

- Gordon


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 20, 2006 1:54 AM
To: [email protected]
Subject: [flexcoders] tabEnabled has no effect on TextArea or/and
TextInput component

Hello flexcoders,


  In Flex 1.5 "mx.controls.TextArea" derives from
"mx.core.UIComponent", thus it has "tabEnabled" property in its API.

   When I set "tabEnabled" property to false on TextArea widget, the
TextArea component is
still able to gain a focus while tabbing, why is this happening?

----------CODE SAMPLE--------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; 
initialize="mx.controls.TextArea.prototype.tabEnabled = false">
<mx:Button id="btn1" width="50" height="100" tabEnabled="false"
label="my btn">
</mx:Button>
<mx:TextArea id="text1" width="200" height="200" tabEnabled="true"
text="some text#1" editable="false">
</mx:TextArea>
<mx:TextInput id="ti1" width="200" height="50" tabEnabled="false"
text="some text#1" editable="false">
</mx:TextInput>
<mx:TextArea id="text2" width="200" height="200" tabEnabled="false"
text="some text#2">
</mx:TextArea>
<mx:TextArea id="text3" width="200" height="200" tabEnabled="false"
text="some text#3">
</mx:TextArea>
</mx:Application>
----------CODE SAMPLE--------
-- 
Best regards,
 Andriy                          mailto:[EMAIL PROTECTED]



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



 




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