tabEnabled property issue.


i have problem changing value of tabenabled property in runtime. goal prevent user setting focus on components tab key in specific situations.

i start sample code:

<?xml version="1.0" encoding="utf-8"?> <mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">            <mx:script>           <![cdata[                                [bindable]                private var flag : boolean = false;                           ]]>      </mx:script>            <mx:button/>      <mx:combobox tabenabled="{flag}"/>      <mx:combobox tabenabled="{flag}"/>      <mx:combobox tabenabled="{flag}"/>      <mx:combobox tabenabled="{flag}"/>      <mx:button>           <mx:click>                <![cdata[                     flag = !flag;                ]]>           </mx:click>      </mx:button>       </mx:application>    

 

if value of tabenabled set true, can change in runtime many times without problems. if set value of tabenabled false if change true in runtime, component behaves if had property turned off - can't set focus using tab key.

maybe solution problem simple, have no idea how solve it, i'm looking forward on help.

btw. using flex sdk 3.5 fp 10.1.

looks bug.  file in bugs.adobe.com/jira.  i'd workaround

is initialize true , set false in

applicationcomplete handler.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい