hi yogesh thank you, i have checked well. my application need many text inputs and lables.i need all will be same(color,border etc).if there is a need i can change.
Shall i use to my application what you told. because if there is a need to change of common properties , i can easily change in one place instead of all text inputs and labels. is there any difficulty i will face to doing like this?? please reply to me On Feb 4, 1:41 pm, Yogesh Gaur <[email protected]> wrote: > yes it is possible ... see the following code (hope its what u r > looking for ) : > > <?xml version="1.0"?> > <!-- mxml/myComponents/StateComboBoxWithStyleProps.mxml --> > > <mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml" > openDuration="1000" > fontSize="15"> > > <mx:dataProvider> > <mx:Array> > <mx:String>AK</mx:String> > <mx:String>AL</mx:String> > </mx:Array> > </mx:dataProvider> > </mx:ComboBox> > > <?xml version="1.0"?> > <!-- mxml/MainStyleOverrideUsingCBTypeSelConflict.mxml --> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > xmlns:MyComp="myComponents.*"> > > <mx:Style> > ComboBox { > color: red; > openDuration: 1000; > fontSize: 15; > } > StateComboBoxWithStyleProps { > color: green; > } > </mx:Style> > > <MyComp:StateComboBoxWithStyleProps/> > <mx:ComboBox/> > </mx:Application> > > here a component is created and its properties can then be changed in > ur maim mxml > > source link > :http://livedocs.adobe.com/flex/3/html/help.html?content=mxmlcomponent... > > On Feb 4, 11:54 am, Gerald Anto Fernando <[email protected]> > wrote: > > > > > Hello Friends, > > For example, My application has many textInputs(input box) and Labels > > (or Texts) with default properties of they have. > > > can i create them as a Custom Components? and aquire them to my > > application ? > > > but in my application ,sometimes i need to change width,height and > > default property what i want. > > > Is It possble??? > > please reply me urget. > > hope your reply > > > Gerald A- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

