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.

Grids, Message Boxes and Focus

Thread ID:





12579 Apr 2,2004 09:27 AM Apr 2,2004 10:02 AM Windows Forms 1
Tags: GridControl
Doug Finke
Asked On April 2, 2004 09:27 AM

We have an MDI application using the TabbedMDIManager. MDIChildren have a Syncfusion Databound Grid. I have two children up. I am handling the paste from the clipboard. If the paste gets an error, I Show a message box. I press enter for the message and then an arrow key. Rather than changing to another cell in the grid, it switches to the other mdi child. I parent the MessageBox to this ( and tried to this.grid ). After the Message Box display I also tried grid.Focus(). These approaches did not anchor the focus. Any thoughts?

Administrator [Syncfusion]
Replied On April 2, 2004 10:02 AM

Did not try these as I do not have such a sample set up, but before calling grid.Focus(), you might try calling one or both of these. this.ActiveControl = grid; this.ActiveMdiChild = grid; grid.Focus();


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.