您的位置:首页 > 其它

设置日期选择组件DateField年选择范围和上下选择按钮.

2008-04-26 14:47 393 查看
minYear
maxYear
属性,yearNavigationEnabled属性

示例:

代码:

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

<!-- http://blog.flexexamples.com/2007/12/17/setting-a-minimum-and-maximum-allowable-year-in-the-flex-datefield-control/ -->

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

layout="vertical"

verticalAlign="top"

backgroundColor="white">

<mx:DateField id="dateField"

yearNavigationEnabled="true"

minYear="2000"

maxYear="2010" />

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