The DateField control is a MX component. It has no Spark
It has a text field control and a calendar icon on its right side. When a user clicks on this icon then pops up a DateChooser control. If the user does not select a date the text field is blank. You can change a month by left or right arrow.If you select a date, the date chooser closes and the text field displays the selected date in date format.
The tag of DateField control is <MX:DateField>.
<?xml version="1.0" encoding="utf-8"?>
xmlns:mx="library://ns.adobe.com/flex/mx"> <s:Panel title="DateField Control Example" width="278" height="262"> <mx:DateField x="10" y="10"/> </s:Panel>
This is example for DateField control. Please choose a date from DateField control.
To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.
Posted on: May 17, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles