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. Image for the cookie policy date
close icon

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

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

Loader.
Live Chat Icon For mobile
Up arrow icon