Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2115
Disable Form inside a MdiTab without disabling the Tab?
posted

Is there a way to disable a Form (Enabled = false) without disabling the MdiTab?

Parents
  • 2115
    posted

    Maybe I should add some more information.

    My Windows Form is a part of the MdiTab. When I set the enabled property of the Form to false (disabling the form), the MdiTab als gets disabled. If I click on another tab, I can't click back to the disabled MdiTab. 

    Why would I want to disable the Form? Well, I'm working on a sort of modality for floating Forms that are related to the Form in the MdiTab. At a certain point, a Floating Form should be modal (not application wide, but 'MdiTab' wide). So I need to be able to disable the Form but not the Tab... Also, you shouldn't be able to close the Tab at that point, but a user should be able to navigate to another tab and back.

Reply Children