Linux字符界面切换到图形界面
2013-05-16 14:08
211 查看
代码:
效果:
本文出自 “技术成就梦想” 博客,请务必保留此出处http://aqqle.blog.51cto.com/4871613/887499
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="450" height="350" creationComplete="initApp()" backgroundColor="#FFFFFF" fontSize="12"> <mx:Script> <![CDATA[ private function initApp():void{ words.dataProvider=['Water','水','Car','汽车','House','房屋','Book','书籍','Music','音乐','Sandwich','三明治']; english.dataProvider=[]; chinese.dataProvider=[]; } ]]> </mx:Script> <mx:Panel width="450" height="350" title="123451"> <mx:HBox width="100%" height="100%"> <mx:VBox height="100%" width="50%"> <mx:Label text="拖拽"/> <mx:List id="words" width="200" height="275" allowMultipleSelection="true" dragEnabled="true"></mx:List> </mx:VBox> <mx:VBox height="100%" width="50%"> <mx:Label text="英文"/> <mx:List id="english" width="200" height="120" dropEnabled="true"></mx:List> <mx:Label text="中文"/> <mx:List id="chinese" width="200" height="120" dropEnabled="true"></mx:List> </mx:VBox> </mx:HBox> </mx:Panel> </mx:Application>
效果:
本文出自 “技术成就梦想” 博客,请务必保留此出处http://aqqle.blog.51cto.com/4871613/887499
相关文章推荐
- linux系统 图形界面和文本(字符)界面之间的切换
- linux图形界面切换到字符界面
- linux图形界面切换到字符界面
- Linux--redhat linux图形界面切换到字符界面
- Linux界面切换:图形界面<——>字符界面
- linux字符界面和图形界面切换方法
- Linux界面切换:图形界面<——>字符界面
- linux 图形界面和字符界面切换
- linux开机图形界面和字符界面切换
- linux 字符界面图形界面切换
- Linux字符界面切换到图形界面
- linux图形界面字符界面切换
- 图形界面vs字符界面切换
- linux从字符界面转入图形界面一法
- linux 图形界面和文本界面的切换操作方法
- Linux启动界面切换:图形界面-字符界面
- Linux-->图形界面与字符界面相互切换
- Linux如何从图形界面切换到命令界面
- Linux字符界面和图形界面
- 控制台字符界面与X-window 图形界面切换