Aug 02

接下来的例子演示了Flex中通过dayNames和firstDayOfWeek属性,设置DateChooser控件星期显示名称。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , , , , ,

Jul 24

接下来的例子演示了MXML和ActionScript中如何通过formatString属性,对DateField控件字符串进行格式化。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , , , ,

Jun 25

很多时候我们都需要为星期一是第0天还是第1天而烦恼,接下来一点常用的小技巧演示了Flex中如何利用ActionScript封装类,对一周的日期名称进行封装(DateFormatter中),从而让我们无需关注是第0天还是第1天的问题。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , , ,

Jun 18

通过右上角的搜索框搜了一下“DateField”,发现相关的例子也不少,有兴趣的可以自己搜搜看。:),接下来的例子演示了Flex中如何通过borderColor样式,设置DateField控件的边框颜色。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , ,

May 01

接下来的例子演示了Flex中如何通过监听open和close事件,来判断DateField控件状态为opened还是closed。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码

Continue reading »

written by Minidxer  |  tags: , , , , ,

Apr 29

接下来的例子演示了如何通过设置textAlign样式,设定DateField中选中日期对齐方式。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码

Continue reading »

written by Minidxer  |  tags: , , ,