您的位置:首页 > 其它

Flex中如何通过showCloseButton属性,控制TitleWindow右上角关闭按钮有效/无效

2009-06-09 00:54 1311 查看
main.mxml

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"

layout="horizontal"

verticalAlign="middle"

backgroundColor="white">



<mx:TitleWindow id="titleWindow1"

showCloseButton="true"

title="TitleWindow"

status="showCloseButton = true"

width="50%"

height="100%" />



<mx:TitleWindow id="titleWindow2"

showCloseButton="false"

title="TitleWindow"

status="showCloseButton = false"

width="50%"

height="100%" />



</mx:Application>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐