From the category archives:

DateField

The following example shows how you can filter an MX DataGrid control in Flex using two MX DateField control’s and filtering the ArrayCollection data provider.

[click to continue…]

{ 7 comments }

The following example shows how you can set a custom format string on a Flex DateField control by setting the formatString property using MXML and ActionScript.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can set the border color on a Flex DateField control by setting the borderColor style using MXML, CSS, and ActionScript.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can determine when the Flex DateField control’s is opened or closed by listening for the open or close events.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows you how you can align the selected date in the Flex DateField control’s text field by setting the textAlign style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the default calendar icon that appears in a DateField control in Flex by setting the skin style.

Full code after the jump.

[click to continue…]

{ 14 comments }

The following example shows how you can remove the default drop shadow from the nested DateChooser control in a Flex DateField control by setting the dropShadowEnabled style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can customize the current date in a DateField control in Flex by setting a custom skin behind the current date using the todayIndicatorSkin style, as well as setting the todayStyleName style to set various text formats, such as text color and font weight.

Full code after the jump.

[click to continue…]

{ 0 comments }

Setting the first day of the week in a Flex DateField control’s calendar

by Peter deHaan December 20, 2007

The following example shows how you can set the firstDayOfWeek property on the Flex DateField control to control whether the pop-up calendar starts on a Sunday (default) or a different day of the week.
Full code after the jump.

Read the full article →

Customizing the current date in the Flex DateField control

by Peter deHaan December 19, 2007

In an earlier example, “Changing the current date’s background color in the Flex DateField control”, we saw how you can customize the background color of the current date, assuming that the showToday property is true. In the following example, we see how you can change the font color, style, and weight of the current date [...]

Read the full article →

Changing the background color of the nested calendar in a Flex DateField control

by Peter deHaan December 18, 2007

The following example shows how you can change the background color and text color of the DateField control’s nested DateChooser component.
Full code after the jump.

Read the full article →

Changing the current date’s background color in the Flex DateField control

by Peter deHaan December 18, 2007

The following example shows how you can set the background color for the current date in the DateField control in Flex by setting the todayColor style.
If you want to disable the highlighting of the current date, you can set the showToday property to false.
Full code after the jump.

Read the full article →