flex的控件
发布时间:2020-12-15 05:11:59 所属栏目:百科 来源:网络整理
导读:1、mx:ApplicationControlBar dock=" true " paddingTop=" 0 " paddingBottom=" 0 " //dock属性使ApplicationControlBar置于应用程序顶部 ApplicationControlBar 容器存储为 Halo Application 容器提供全局导航和应用程序命令的组件。 mx:ApplicationControl
1、<mx:ApplicationControlBar dock="true" paddingTop="0" paddingBottom="0" > //dock属性使ApplicationControlBar置于应用程序顶部 ApplicationControlBar 容器存储为 Halo Application 容器提供全局导航和应用程序命令的组件。
<mx:ApplicationControlBar dock="true" paddingTop="0" paddingBottom="0" > <mx:Label text="Docked" fontWeight="bold" color="0x000000"/> <mx:MenuBar id="myMenuBar" labelField="@label"> <mx:XMLList> <menuitem label="MenuItem A" > <menuitem label="SubMenuItem A-1" type="check"/> <menuitem label="SubMenuItem A-2" type="check"/> </menuitem> <menuitem label="MenuItem B"/> <menuitem label="MenuItem C"/> <menuitem label="MenuItem D" > <menuitem label="SubMenuItem D-1" type="radio" groupName="one"/> <menuitem label="SubMenuItem D-2" type="radio" groupName="one"/> <menuitem label="SubMenuItem D-3" type="radio" groupName="one"/> </menuitem> </mx:XMLList> </mx:MenuBar> </mx:ApplicationControlBar> <mx:Label color="0xACACAC" text="A docked ApplicationControlBar appears at the top of the application window."/> <mx:Spacer height="100%" /> <mx:ApplicationControlBar width="80%"> <mx:Label text="Normal" fontWeight="bold" color="0x000000"/> <mx:Label text="Search:" color="0x323232" /> <mx:TextInput width="100%" maxWidth="200" /> <mx:Spacer width="100%" /> <mx:Button label="Go adobe.com" color="0x000000" /> </mx:ApplicationControlBar> <mx:Label color="0xACACAC" text="A normal ApplicationControlBar can appear anywhere in the application."/> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |