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.

Behaviour of CellType "Control"

Thread ID:





58659 Mar 26,2007 09:36 AM Mar 26,2007 09:39 AM Windows Forms 1
Tags: GridControl
Henning Möller
Asked On March 26, 2007 09:36 AM

I've got a GridControl which is in ListBoxSelectionMode = One. There's no need to do any in-place editing nor will there be any changes to existing rows. There will, however, be new rows at the end of the grid.

Each row does have various columns, one of them being of CellType "Control". The actual control is a Panel containing between one and three buttons, reflecting different additional information to those rows.

Here are my problems:

1) As soon as I activate the cell, I get a wait cursor for this - and only this - cell. I cannot find a place in my application where I set this.

2) To click my own buttons, I have to activate the cell, first. Is there a way to have the cell activated by hovering over it? Or, maybe even better, to forward the click used to activate the cell right into the button?

I have found some references to IMouseController which seems to be an approach to these problems. But it seems a little tricky not to break existing functionality with a custom IMouseController.



Henning Möller
Replied On March 26, 2007 09:39 AM

One more issue:

3) I'd like to have the row selected as one. But when clicking into the Control cell, it gets activated on its own, having a white background instead of the AlphaBlendedSelectionColor. Anything to do about that?

One more TIA...



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.