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.
Syncfusion Feedback

Grids, Message Boxes and Focus

Thread ID:

Created:

Updated:

Platform:

Replies:

12579 Apr 2,2004 02:27 PM UTC Apr 2,2004 03:02 PM UTC Windows Forms 1
loading
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();

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.

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

;