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

How to prevent the text in the ComboBox from going to the next item when it is doubleclicked.

Thread ID:

Created:

Updated:

Platform:

Replies:

19592 Sep 29,2004 05:16 PM UTC Sep 30,2004 12:08 PM UTC WinForms 5
loading
Tags: GridControl
Dongxian Li
Asked On September 29, 2004 05:16 PM UTC

Hi, In our project we use the GridControl and ComboBox as its celltype. The problem is: when user doubleclicks the text of the ComboBox, the next item in the list is automatically selected and the text is highlighted. We do not want this behavior, we want the original text to stay and the text get highlighted. How can we do that? Thanks Dongxian

Administrator [Syncfusion]
Replied On September 29, 2004 06:08 PM UTC

To avoid this behavior, I think you would have to derive GridComboBoxCellModel and GridComboBoxCellRenderer to create your own custom combobox celltype. Then in your renderer class, override OnEditPartMouseDown and do not call the baseclass.

Administrator [Syncfusion]
Replied On September 29, 2004 06:54 PM UTC

Here is a thread that has a sample in it. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=13608

Dongxian Li
Replied On September 30, 2004 10:35 AM UTC

Thanks. Is there any plan to include this feature in the ComboBox in the future release? It would be nice if we don''t have to derive our own ComboBoxes. I think it is a useful feature that many people would like to have. >Here is a thread that has a sample in it. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=13608

Administrator [Syncfusion]
Replied On September 30, 2004 11:52 AM UTC

I have added this (Item 587) to our Open Issues database as a feature request.

Dongxian Li
Replied On September 30, 2004 12:08 PM UTC

That is great. Thanks. Dongxian

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

;