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.

ComboDropDown listening to Key.Down

Thread ID:

Created:

Updated:

Platform:

Replies:

10535 Feb 4,2004 12:34 PM Feb 4,2004 03:44 PM Windows Forms 1
loading
Tags: Tools
Marco Ensing
Asked On February 4, 2004 12:34 PM

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 03:44 PM

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

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.

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.

;