加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

flex学习札记

发布时间:2020-12-15 04:46:48 所属栏目:百科 来源:网络整理
导读:主要是学习dateChooser、DateField、和formatString。代码如下: s:Label x="210" y="60" width="121" height="45" fontSize="35" text="标签" color="{cp.selectedColor}"/ ?mx:DateChooser x="65" y="141"/ ?mx:DateField? id="df" x="380" y="176" width=

主要是学习dateChooser、DateField、和formatString。代码如下:

<s:Label x="210" y="60" width="121" height="45" fontSize="35" text="标签" color="{cp.selectedColor}"/>
?<mx:DateChooser x="65" y="141"/>
?<mx:DateField? id="df" x="380" y="176" width="131" change="datefield1_changeHandler(event)"
????? dayNames="[&quot;周日&quot;,&quot;周一&quot;,&quot;周二&quot;,&quot;周三&quot;,&quot;周四&quot;,&quot;周五&quot;,&quot;周六&quot;]"
????? formatString="YYYY年MM月DD日"
????? monthNames="[&quot;一月&quot;,&quot;二月&quot;,&quot;三月&quot;,&quot;四月&quot;,&quot;五月&quot;,&quot;六月&quot;,&quot;七月&quot;,&quot;八月&quot;,&quot;九月&quot;,&quot;十月&quot;,&quot;十一月&quot;,&quot;十二月&quot;]"/>

效果如下:

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读