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

MDI Form - I should not deactivate a particular child form based on some condition. How can i do this?

Thread ID:




59780 Apr 21,2007 06:46 PM UTC WinForms 0
Tags: FAQ
Mohamed Ali Jinnah
Asked On April 21, 2007 06:46 PM UTC

I should not deactivate a particular child form based on some condition.

For examble, User should not goto any other child form or should not open any other child form using menu when a particular child form is activated.

I have achieved this partially. When user try to open a new child form using, I will get the active child form using ActiveMdiChild property of mdi form, then i will check a flag (which will indicate that user should not go to any other window) of the child form, based on the flag, i will launch the child form or not.

But when user try to move out (deactivate) from the child form using Ctrl + tab key, I couldnot avoid the deactivation of the child form. How can i do this?




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