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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboDropDown listening to Key.Down

Thread ID:





10535 Feb 4,2004 05:34 PM UTC Feb 4,2004 08:44 PM UTC WinForms 1
Tags: Tools
Marco Ensing
Asked On February 4, 2004 05:34 PM UTC

A ComboDropDown has a PopupControl. When I click on the comdoDropDown button the popupControl becomes visible. I would like to get the control visible also when the user presses the Key.Down key (the control key down) This behaviour is not working currently in the combobox. However when I try to listen to the KeyDown events. I see all keys comming by execept the Keys.Down ! Is this consumed inside the syncfusion component? private void comboDropDownBinding_KeyDown(object sender, System.Windows.Forms.KeyEventArgs keyEventArg) { switch (keyEventArg.KeyCode) { case Keys.Down: { keyEventArg.Handled = true; this.comboDropDownBinding.PopupControl.Show(); //this.NotifyDropDownKeyPressed(); break; } default : break; } }

Administrator [Syncfusion]
Replied On February 4, 2004 08:44 PM UTC

Hi Marco The popup in a ComboDropDown control will be displayed bif you press the ALT and the down arrow key. To display the popup when you press just the down arrow key, you will need to derive from the ComboDropDown control and override the ProcessCmdKey event. Regards Arun


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon