On Tue, Aug 18, 2009 at 7:07 PM, Nick Middleweek <[email protected]>wrote:

>
>
> hi guys,
>
> Is there a component that allows us to group fields/ objects together? I
> can't find a built in object, I'm after something visual that i can use to
> group fields, such as all the address fields together and another group to
> collate the numerous emails and phone numbers...
>
You can use a container with a border I.

I'd personally use Panel.

however there are several ways to do this. Please note this was to be quick
not pretty.

See below

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF,
#FFFFFF]">
    <mx:Form x="10" y="10" borderStyle="inset" width="293">
        <mx:FormHeading label="Address"/>
        <mx:FormItem label="House">
            <mx:TextInput/>
        </mx:FormItem>
        <mx:FormItem label="Street">
            <mx:TextInput/>
        </mx:FormItem>
        <mx:FormItem label="Town">
            <mx:TextInput/>
        </mx:FormItem>
    </mx:Form>
    <mx:Form x="10" y="158" width="293" borderStyle="inset" height="170">
        <mx:FormHeading label="Contact Details"/>
        <mx:FormItem label="Mobile">
            <mx:TextInput/>
        </mx:FormItem>
        <mx:FormItem label="Phone">
            <mx:TextInput/>
        </mx:FormItem>
            <mx:HRule width="100%"/>
        <mx:FormItem label="e-mail">
            <mx:TextInput/>
        </mx:FormItem>
    </mx:Form>

</mx:Application>

Or if you want it dynamic you can use something like an accordian.

>
>
> Can I draw it? Is there a line tool?
>
>
I think theres lines in the shape area

>
> Thanks! :)
>
> Nick
>
>
>
> 
>

Reply via email to