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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grids, Message Boxes and Focus

Thread ID:





12579 Apr 2,2004 02:27 PM UTC Apr 2,2004 03:02 PM UTC WinForms 1
Tags: GridControl
Doug Finke
Asked On April 2, 2004 02:27 PM UTC

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 03:02 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon