I agree Mike, List-based controls were built with the idea that people will use data providers. You have to populate the list with something. How you do it, is up to you (data driven or hardcoded).
-TH --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > > Most controls were built with the idea that people will use dataBinding > only. > > That is not true, learn how to use collections. > > Peace, Mike > > On 6/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote: > > > > Look here: > > > > http://groups.yahoo.com/group/flexcoders/message/39987?l=1 > > > > -TH > > > > > > --- In [email protected], "NZEYIMANA Emery Fabrice" > > <nzeyimana@> wrote: > > > > > > Hello, thanks for the help. > > > But I have admit that I am still confused. > > > Do you have a code snippet for me to look at? > > > Everything looks terribly new to me in Flex. Most controls were built > > with the idea that people will use dataBinding only. > > > As I am learning Flex, I will probably be putting a question every 50 > > minutes. Also, the Yahoo Forums are not easy to dig. > > > > > > > > > > > > Thanks > > > Emery > > > > > > ----- Original Message ----- > > > From: Michael Schmalle > > > To: [email protected] > > > Sent: Saturday, June 17, 2006 19:19 > > > Subject: Re: [flexcoders] Adding ComboBox Item programmatically > > > > > > > > > Hi, > > > > > > You can access the comboBox.dataProvider as an ICollectionView. > > > > > > See the docs about this interface and the IViewCursor > > > > > > Peace, Mike > > > > > > > > > > > > On 6/17/06, NZEYIMANA Emery Fabrice nzeyimana@ wrote: > > > > > > Hello group, > > > > > > Is there any way of adding an item to the combo box programmatically? > > > I hate data binding and try to avoid it as much as I can. > > > Like in .NET one can access the Items property of the combo box. > > > > > > > > > Thanks > > > Emery > > > > > > > > > > > > > > > -- > > > What goes up, does come down. > > > > > > > > > > > > > -- > What goes up, does come down. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

