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.
Syncfusion Feedback

ComboBoxBarItem events too limited

Thread ID:

Created:

Updated:

Platform:

Replies:

46642 Jul 18,2006 07:40 AM UTC Feb 23,2007 08:54 AM UTC Windows Forms 7
loading
Tags: Tools
Leow Kah Man
Asked On July 18, 2006 07:40 AM UTC

Hi, Why doesn''t ComboBoxBarItem offer Keydown, keyup, etc. events? It would be really useful to have these. Thanks.

Saradha [Syncfusion]
Replied On July 18, 2006 12:08 PM UTC

Hi Leow, The reason you don''t see the keydown,keyup events is because we only simulate a combo box in our toolbars, rather than using a true combobox. You can still get the keydown,keyup events by holding the internal textBox of ComboBoxBarItem in TextBoxBound event. For more information, please refer the sample attached. When the KeyDown and KeyUp events are triggered, this sample just shows a messageBox indicating which event is triggered. Thanks for your interest in Syncfusion products. Regards, K.Saradha Devi. ComboBoxBarItem_Events.zip

Administrator [Syncfusion]
Replied On December 29, 2006 04:22 PM UTC

Hi,

I tried to use the method provided in the sample app; the only difference is that I have a ComboBoxBarItem on a XPMenus.XPToolBar, as opposed to XPMenus.Bar. In this case, the TextBoxBound event will NOT get raised.

Can you please help? I need to be able to capture the keydown event on the ComboBox.

Thanks a lot,

Frank


>Hi Leow,
>
>The reason you don't see the keydown,keyup events is because we only simulate a combo box in our toolbars, rather than using a true combobox. You can still get the keydown,keyup events by holding the internal textBox of ComboBoxBarItem in TextBoxBound event.
>
>For more information, please refer the sample attached. When the KeyDown and KeyUp events are triggered, this sample just shows a messageBox indicating which event is triggered.
>
>Thanks for your interest in Syncfusion products.
>
>Regards,
>K.Saradha Devi.
>
>ComboBoxBarItem_Events.zip

Gopalakrishnan S [Syncfusion]
Replied On January 3, 2007 03:12 AM UTC

Hi Frank,

Sorry for the delay in getting back to you. You can invoke the KeyDown and KeyUp event in the TextBoxBound method instead of invoke its in constructor.

Here is the code snippet:

private void comboBoxBarItem1_TextBoxBound(object sender, Syncfusion.Windows.Forms.Tools.XPMenus.TextBoxBoundEventArgs args)
{
txtBox = args.TextBox;
txtBox.KeyDown +=new KeyEventHandler(txtBox_KeyDown);
txtBox.KeyUp +=new KeyEventHandler(txtBox_KeyUp);
}

Please let me know if this works.

Thanks,
S.Gopal.

Administrator [Syncfusion]
Replied On January 3, 2007 01:39 PM UTC

Hi Gopal,

Thanks for the reply. But the the problem is that comboBoxBarItem1_TextBoxBound event handler will NOT be invoked if the comboBoxBarItem1 is on a XPMenus.XPToolBar. It will work if the comboBoxBarItem1 is on a XPMenus.Bar.

Other suggestions?

Thanks,

Frank

Gopalakrishnan S [Syncfusion]
Replied On January 3, 2007 11:25 PM UTC

Hi Frank,

Sorry for the previous update. I do see the issue here and have notified to the development team in this regard. I will update the bug report link and time frame needed to fix the issue after consulting with the developers.

Thanks for using Syncfusion products.

Thanks,
S.Gopal.

Purusothaman R [Syncfusion]
Replied On January 23, 2007 01:39 PM UTC

Hi Frank,

Sorry for the delay in getting back to you.

We are currently working on this issue. We could also see that, in VS.NET 2002, the TextBoxBound event does not fire when the ComboBoxBarItem is under a ParentBarItem.

Few changes has been made in the source for making the ComboBoxBarItem to trigger its TextBoxBound event, when the ComboBoxBarItem is under a ParentBarItem.

We will fix the remaining issues related to TextBoxBound event soon and keep you updated.

Thanks for your patience.

Regards,
Purusothaman.R

Administrator [Syncfusion]
Replied On February 23, 2007 08:54 AM UTC

Hi Frank,

The defect id#3311 has been fixed. Could you please open an incident in the direct trac with the forum id as the subject line, so that we can send you the necessary information?

http://www.syncfusion.com/Support/DirectTrac/logon.aspx

Thanks,
Ajish.

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

;