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.

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

Thread ID:

Created:

Platform:

Replies:

59780 Apr 21,2007 02:46 PM Windows Forms 0
loading
Tags: FAQ
Mohamed Ali Jinnah
Asked On April 21, 2007 02:46 PM

Hi,
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?

Regards,
JInnah




MDIApplication.zip

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.

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.

;