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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MultiColumnComboBox auto drop down

Thread ID:

Created:

Updated:

Platform:

Replies:

47339 Aug 2,2006 09:25 PM UTC Aug 4,2006 06:43 AM UTC WinForms 3
loading
Tags: Tools
Jerry Lawrence
Asked On August 2, 2006 09:25 PM UTC

How do I get a MultColumnComboBox to auto drop down when a user starts typing in the control?

Jerry


Anupama Roy [Syncfusion]
Replied On August 3, 2006 05:26 PM UTC

Hi Jerry,

You can handle the KeyPress event and set the

DroppedDown property to true as shown below.



private void multiColumnComboBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if(e.Handled ==false)
{
this.multiColumnComboBox1.DroppedDown =true;
}
else
{
this.multiColumnComboBox1.DroppedDown =false;
}
}

Please take a look at the sample attached and let us know if you have any difficulties.

Thanks,

Anu.


MulitColumnComboBox.zip

Jerry Lawrence
Replied On August 3, 2006 08:04 PM UTC

That works. It causes the dropdown to flash/jump on each keypress.

I tried putting DroppedDown = true in the Enter event - the dropdown doesn''t appear.

Is there a way to get around the flashing of the dropdown?

Thanks,

Jerry

Administrator [Syncfusion]
Replied On August 4, 2006 06:43 AM UTC

Hi Jerry,

Thanks for your reply. I could see the issue and this can be ignored by introducing a small condition in the same code. Please take a look at the sample attached.


Regards,
Velmurugan E.




MulitColumnComboBoxForum1.zip

CONFIRMATION

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.

Warning Icon 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.Close Icon

;