Is there a way to disable a Form (Enabled = false) without disabling the MdiTab?
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.
Hi,
Thank you for your clarifications. I can see this possible only if you hook to the "TabSelecting" event of the "UltraTabbedMdiManager" component and go through each and every tab and enable their forms. Would this help?
Hello Lieven,
After some research, the "Ability to disable a form without disabling the corresponding tab." has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI13060043.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Hi Boris, that wouldn't help. The Forms need to stay disabled.
This is the situation. We have several Floating Forms who belong to a particular Tab (with Form), so an MdiChild. At a certain moment, one of the Floating Forms is Modal which means we disable all other Floating forms (belonging to the same Tab) and the Form of the Tab itself.
Problem with setting Enabled = false for the Tabbed Form is that the Tab is also disabled. So when a customer clicks on another tab, he can't return anymore the the disabled Tab.
Now I have fixed this by checking if it's a Tabbed Form. In that case, I just disable the needed controls of the Form, but not the Form itself. Then the Tab stays enabled. When a customer clicks the X of the tab, I also check if that's allowed.
Is it possible to disable the tabbed form without disabling the tab. I should not be greyed out either...
thx, Lieven
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.