DateField form item : DateField « Components « Flex






DateField form item

DateField form item
       

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Canvas width="100%" height="100%">
        <mx:Form id="myForm" backgroundColor="#DDDDDD" top="0" left="20" right="20">
            <mx:FormItem label="Product:" width="100%">
                <mx:ComboBox width="200" />
            </mx:FormItem>
            <mx:FormItem label="User" width="100%">
                <mx:ComboBox width="200" />
            </mx:FormItem>
            <mx:FormItem label="Date">
                <mx:DateField />
            </mx:FormItem>
            <mx:FormItem width="100%" direction="horizontal" label="Hours:">
                <mx:TextInput width="75" />
                <mx:Label text="Minutes" width="48" />
                <mx:TextInput width="75" />
            </mx:FormItem>
        </mx:Form>
        <mx:HBox id="okCancelBox" right="20" bottom="10">
            <mx:Button label="OK" />
            <mx:Button label="Cancel" />
        </mx:HBox>
    </mx:Canvas>
</mx:Application>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Use DateField to let user choose dateUse DateField to let user choose date
2.Use ActionScript to set initial selected date for a DateField controlUse ActionScript to set initial selected date for a DateField control
3.DateField Item EditorDateField Item Editor
4.DateField renderer for ListDateField renderer for List
5.Date Entry with DateFieldDate Entry with DateField
6.Use an array to set the disabledDays property for DateField.Use an array to set the disabledDays property for DateField.
7.Using DateField as List EditorUsing DateField as List Editor
8.Set the disabledDays property in two different ways: using tags and using tag attributesSet the disabledDays property in two different ways: using tags and using tag attributes
9.Set the formatString property to "MM/DD/YY" to display a two-digit yearSet the formatString property to
10.Use Date from a Calendar ControlUse Date from a Calendar Control