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.

CellCombo

Thread ID:

Created:

Updated:

Platform:

Replies:

27260 Apr 8,2005 08:08 AM Apr 15,2005 10:54 AM Windows Forms 5
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 8, 2005 08:08 AM

I''m trying to get the following behavior: In a combobox gridcell, i would like to have the whole text selected when the cell gets the focus. I did not find the selecAll() method.

Administrator [Syncfusion]
Replied On April 8, 2005 09:22 AM

Try setting the property, grid.ActivateCurrentCellBehavior, to SelectAll to see if that does what you want.

Administrator [Syncfusion]
Replied On April 8, 2005 09:48 AM

It does work. However when i cause to open a form that will display on the grid, it will be sent to back... like if displaying the new form caused some activation of those cell

Administrator [Syncfusion]
Replied On April 8, 2005 10:31 AM

I am not sure I understand your comment. If you are somehow redisplaying the grid, try calling grid.Focus() to make sure it has the focus.

Administrator [Syncfusion]
Replied On April 15, 2005 10:47 AM

I''ll try to be more clear: I''m using a GridControl and completly reimplemented a FilterBar. My wish is that when the user clicks in the combocell, the text is automatically selected so that he can type over the current text With the option you told me it works However, any window opened over the FilterBar area is automatically sent back. When deactivating the option no problem.

Administrator [Syncfusion]
Replied On April 15, 2005 10:54 AM

So, you have coded some kind of FilterBar is a GridControl, and that code is broken when you set the SelectAll setting. Is that the problem? If it is and you can upload a sample project using your custom code that shows the problem, we can try to suggest some solution. If it is not, then I am still not clear on what you are doing. Can you upload a sample project showing the problem, or maybe upload some prictures that show the problem.

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.

;