Friday, November 22, 2013

RequestHand.mxml


<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx" width="{this.parentApplication.width}" height="{this.parentApplication.height}"
creationComplete="initApp()">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import com.aavanor.hospaa.utils.MessageUtil;
public function initApp():void
{

MessageUtil.showMessage("Success");;
}
]]>
</fx:Script>
<mx:HBox height="100%"
width="100%">
<mx:HBox height="100%" width="20%" >
</mx:HBox>
<mx:HBox  
height="100%"
width="60%">
<mx:Panel backgroundColor="#ffffff"
 title="Request Hand"
 paddingBottom="50"
 height="100%"
 width="100%">


<mx:VBox height="100%"
paddingBottom="20"
paddingLeft="20"
paddingRight="20"
paddingTop="20"
width="100%">
<mx:HBox height="40%"
width="100%">
<mx:HBox height="100%"
width="50%" horizontalAlign="right"
verticalAlign="middle" >
<mx:HBox>
<mx:Form width="100%">
<mx:FormItem label="Patient Type"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient Type"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient Type"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Patient_________"
required="true">
<s:TextInput/>
</mx:FormItem>
<mx:FormItem label="Status"
required="true">
<mx:HBox>
<s:RadioButton id="raAct" label="Active" selected="true"/>
<s:RadioButton id="raInAct" label="InActive"/>
</mx:HBox>
</mx:FormItem>

</mx:Form>
</mx:HBox>
</mx:HBox>
<mx:HBox height="100%" width="50%" 
horizontalAlign="left"
verticalAlign="middle">
<mx:HBox>
<s:Form width="100%">
<s:FormItem label="Aavanor Charge"
required="false"
width="100%">
<s:TextInput />
</s:FormItem>
</s:Form>
</mx:HBox>
</mx:HBox>
</mx:HBox>
<mx:HBox height="5%"
width="100%" horizontalAlign="center"
verticalAlign="middle" >
</mx:HBox>
<mx:HBox height="5%"
width="100%" horizontalAlign="center"
verticalAlign="middle" >
<mx:HBox paddingBottom="5" paddingTop="5">
<s:Button label="Save" id="btnSave"  />
<s:Button label="Status" id="btninActive" />
<s:Button label="Clear" id="btnClear"  />
</mx:HBox>
</mx:HBox>
<mx:HBox height="50%"
width="100%">
<mx:Panel headerHeight="0"
 height="100%"
 
 width="100%">
<mx:VBox height="100%"
width="100%">
 
<s:DataGrid height="95%"
id="dgCharge"
borderVisible="false"
width="100%"  >
<s:columns>
<mx:ArrayList>
<s:GridColumn headerText="Consultant"
 width="240"
 minWidth="50"  
 sortable="false"
 editable="false"/>
 
</mx:ArrayList>
</s:columns>
</s:DataGrid>
</mx:VBox>
</mx:Panel>
</mx:HBox>
</mx:VBox>
</mx:Panel>
</mx:HBox>
<mx:HBox height="100%" width="20%">
</mx:HBox>
</mx:HBox>
</s:Group>

No comments:

Post a Comment