当前位置:编程学习 > 网站相关 >>

Flex设置自动获得焦点

[html]
protected function initializeHandler(event:FlexEvent):void 
            { 
                focusManager.setFocus(loginName); 
                 
                 
                 
            } 

protected function initializeHandler(event:FlexEvent):void
   {
    focusManager.setFocus(loginName);
    
    
    
   }
[html]
<s:TextInput id="loginName" maxChars="250" width="150"/> 

<s:TextInput id="loginName" maxChars="250" width="150"/>

 

补充:综合编程 , 其他综合 ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,