Follow Flex After Dark on Twitter

Date Controls (DateField and DateChooser)

The DateField (mx.controls.DateField) control that shows a date in a text field with a calendar icon on its right side. Clikcing the calendar icon opens a DateChooser control, allowing the user to select a date.

The DateChooser (mx.controls.DateChooser) control allows a user to select a date, a range of dates, or multiple dates from a calendar-like display.

TODO... embed example (DateControls1)

   <mx:DateField />
   <mx:DateChooser />

Commonly used properties:

  • selectedDate:Date - date selected by the control

Commonly used events:

  • change - dispatched when a date is selected or changed

TODO... examples, examples...

Related Links:

Related Docs
  • Flex Common Controls Overview of common Flex controls, including: Button, ComboBox, List, and TextArea.
Recent Docs
  • Flex Date Controls Flex Date Controls allow users to select dates and date ranges with DateField and DateChooser.
  • ActionScript Array The ActionScript Array class and usage examples.
  • Flex Events Events drive Flex applications. See how to register listeners and dispatch events.
  • Flex Text Controls Flex Text Controls allow the display and input of simple and rich HTML text.
  • ActionScript Language Introduction to the ActionScript 3.0 programming language.
Random Docs
  • Flex HTML Text Text Controls support the htmlText property.
  • Flex DataGrid The Flex DataGrid control is used for displaying tabular data.
  • Flex Form Validation Form Validation techniques and usage examples.
  • ActionScript E4X E4X (ECMAScript for XML) enables ActionScript to handle XML as a first-class citizen.
  • Flex Fonts Working with Fonts in Flex, including embedding and runtime loading.