Re: Control.Validating event
"Nassar, Anthony" <[email protected]> Thu, 4 Oct 2007 17:36:58 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
I'm using the DivElements SandDock controls, fwiw. I posted at the request of another developer; I'm going to have to confirm that he knows what he's talking about. If a DataGridView is embedded in a dockable container, my handler for "row validating" sets e.Cancel = true, the grid does not seem to retain focus. -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]] On Behalf Of Peter Ritchie Sent: Thursday, October 04, 2007 4:07 PM To: [email protected] Subject: Re: [DOTNET-WINFORMS] Control.Validating event Can you detail what you mean by a "docking panel". I've tried various docked panels, with and without split containers and cancelling a Validating event always restores (or doesn't change) the focus of the current control.