简体   繁体   English

DateField和DateChooser之间的区别

[英]Difference between DateField and DateChooser

I want to know the Difference between DateField and DateChooser in FLEX. 我想知道FLEX中DateField和DateChooser之间的区别。 I know the UI changes but i want the difference other than its UI, Properties, Method etc... 我知道UI的变化,但我想要的不同于其UI,属性,方法等...

Thanks in adnvance 谢谢你的支持

The DateChooser control displays the name of a month, the year, and a grid of the days of the month. DateChooser控件显示月份名称,年份以及月份日期的网格。 It contains columns labeled for the days of the week. 它包含标记为一周中几天的列。 This control is useful in applications where you want a continually visible calendar. 此控件在您需要连续可见日历的应用程序中非常有用。 The user can select a single date from the grid. 用户可以从网格中选择单个日期。 The control contains forward and back arrow buttons to let you change the month and year. 该控件包含前进和后退箭头按钮,可让您更改月份和年份。 You can disable the selection of certain dates, and limit the display to a range of dates. 您可以禁用某些日期的选择,并将显示限制为一系列日期。

The DateField control is a text field that displays the date with a calendar icon on its right side. DateField控件是一个文本字段,显示日期右侧带有日历图标的日期。 When a user clicks anywhere inside the bounding box of the control, a date chooser that is identical to the DateChooser control pops up. 当用户单击控件边界框内的任何位置时,将弹出与DateChooser控件相同的日期选择器。 If no date has been selected, the text field is blank and the current month is displayed in the date chooser. 如果未选择日期,则文本字段为空白,当前月份显示在日期选择器中。

When the date chooser is open, users can click the month scroll buttons to scroll through months and years, and select a date. 当日期选择器打开时,用户可以单击月份滚动按钮滚动月份和年份,并选择日期。 When the user selects a date, the date chooser closes and the text field displays the selected date. 当用户选择日期时,日期选择器关闭,文本字段显示所选日期。

This control is useful in applications where you want a calendar selection tool, but want to minimize the space that the date information takes up. 此控件在您需要日历选择工具但希望最小化日期信息占用空间的应用程序中非常有用。

From docs: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9b.html 来自docs: http//help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9b.html

Cheers 干杯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM