Use HRule for Form : HRule « Components « Flex






Use HRule for Form

Use HRule for Form
       

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">

    <mx:Panel title="User Entry.">
          <mx:Form>
                 <mx:FormItem label="Name:">
                       <mx:TextInput id="nameInput" />
                 </mx:FormItem>
          </mx:Form>
          <mx:HRule width="100%" />
          <mx:Label text="You Entered:" fontWeight="bold" />
          <mx:HBox>
               <mx:Label text="First Name:" />
               <mx:Text id="nameField" />
          </mx:HBox>
          <mx:Button id="btn" label="unwatch"/>
    </mx:Panel>
</mx:Application>
    

   
    
    
    
    
    
    
  








Related examples in the same category

1.Create HRule and VRule controls using and Create HRule and VRule controls using <mx:HRule> and <mx:VRule>
2.Specify line width, stroke color, and shadow color for HRule and VRule controlsSpecify line width, stroke color, and shadow color for HRule and VRule controls
3.Use HRule to divide controlsUse HRule to divide controls
4.Map some HRules and VRules to constraint rows and columnsMap some HRules and VRules to constraint rows and columns
5.HRule stroke colorHRule stroke color
6.HRule width is binded to another controlHRule width is binded to another control
7.Rule PropertiesRule Properties