ActionScript 2.0 Components Language Reference |
|
|
|
| DateField component > Using the DateField component > DateField parameters | |||
You can set the following authoring parameters for each DateField component instance in the Property inspector or in the Component inspector:
dayNames sets the names of the days of the week. The value is an array and the default value is ["S", "M", "T", "W", "T", "F", "S"].
disabledDays indicates the disabled days of the week. This parameter is an array that can have up to seven values. The default value is [] (an empty array).
firstDayOfWeek indicates which day of the week (0-6, with 0 being the first element of dayNames array) is displayed in the first column of the date chooser. This property changes the display order of the day columns.
The default value is 0, which is "S" for sunday.
monthNames sets the month names that are displayed in the heading row of the calendar. The value is an array and the default value is ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October","November", "December"].
showToday indicates whether to highlight today's date. The default value is true.
You can write ActionScript to control these and additional options for the DateField component using its properties, methods, and events. For more information, see DateField class.
|
|
|
|