How to embed the label inside the border like usual fieldset?
--- In [email protected], Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi, > > You can use nested Form tag with borderStyle="solid" or u can us Vbox with > proper margins.. > > But it's so easy to make your own fieldset component, its essentially one > of Box container... > > > ##FieldGroup.mxml## > > <mx:Application width="800" height="600" > xmlns:mx="http://www.macromedia.com/2003/mxml"> > > <mx:Form> > > <mx:FormHeading label="Personal Details"></mx:FormHeading> > <mx:Form borderStyle="solid"> > <mx:FormItem label="First Name:"><mx:TextInput > id="fname_ti"/></mx:FormItem> > <mx:FormItem label="Last Name:"><mx:TextInput > id="lname_ti"/></mx:FormItem> > <mx:FormItem label="Age:"><mx:TextInput > id="age_ti"/></mx:FormItem> > </mx:Form> > <mx:FormHeading label="Qualification"/> > <mx:Form borderStyle="solid"> > > <mx:FormItem label="School Name:"><mx:TextInput > id="schoolName_ti"/></mx:FormItem> > <mx:FormItem label="College Name:"><mx:TextInput > id="collageName_ti"/></mx:FormItem> > </mx:Form> > </mx:Form> > > </mx:Application> > > > Not sure, if something wrong might happen by nesting form tags...But it > should be ok.. > > > Does it help you? > > -abdul > > -----Original Message----- > From: Ghislain Simard [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 02, 2005 7:57 PM > To: [email protected] > Subject: [flexcoders] In Flex, is there any equivalent to Fieldset in HTML? > > > > Hi, > In Flex, is there any tag or way of doing the same job as a fieldset > as in HTML? > If not, it would be great to have it out-of-the-box in Flex. > > > > Thanks > > > > > > > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

