We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Add items to ComboBoxEx

Thread ID:





6201 Aug 4,2003 01:44 PM Aug 5,2003 10:59 AM Windows Forms 1
Tags: Tools
Ken Bryant
Asked On August 4, 2003 01:44 PM

I must be missing something, because I do not see an "Add" method for the ComboBoxExt. Something similar to the following (incomplete) code segment for(int i = 0; i < ArrayList.Count; i++) myComboBox.Items.Add(Mv.SomeValue); Thanks In Advance.

Ramesh Praveen [Syncfusion]
Replied On August 5, 2003 10:59 AM

Ken, The ComboBoxExt expects a ListBox to be plugged in to be shown in the dropdown area. And you would populate the ListBox, instead of the combo directly. The idea is to let you plugin custom ListBox's the dropdown area. However, if you want a .net ComboBox like functionality you should use our ComboBoxAdv control (deriving from our ComboBoxExt) that provides a very similar API as the .net combo and automatically using a ListBox internally. Regards, Praveen


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.