Layout FormItem horizontally : FormItem « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » FormItemScreenshots 
Layout FormItem horizontally
Layout FormItem horizontally
          

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Form>
        <mx:FormHeading label="Information"/>
        <mx:FormItem label="First Name, Last Name" direction="horizontal">
            <mx:TextInput id="firstName"/>
            <mx:TextInput id="lastName"/>
        </mx:FormItem>
        <mx:FormItem label="e-mail">
            <mx:TextInput id="email"/>
        </mx:FormItem>
        <mx:FormHeading label="Another"/>
        <mx:FormItem label="Password Question">
            <mx:TextInput id="Password"/>
        </mx:FormItem>
        <mx:FormItem label="Comment">
            <mx:TextArea id="comment" editable="true" width="326" height="100"/>
        </mx:FormItem>
    </mx:Form>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Label for FormItemLabel for FormItem
2.CheckBox FormItemCheckBox FormItem
3.FormItem containers take an input control and provide it with a labelFormItem containers take an input control and provide it with a label
4.FormItem font style and weightFormItem font style and weight
5.Creating mandatory FormItemsCreating mandatory FormItems
6.Set the FormItem label color to dark blue and its font size to 20 pixelsSet the FormItem label color to dark blue and its font size to 20 pixels
7.Show the FormItem container definitionsShow the FormItem container definitions
w___w___w_.j_a___v_a___2_s.___co___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.