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

TabbedMDI panel is not activating form sometimes, when tab is selected

Thread ID:





9305 Dec 12,2003 06:32 PM UTC Dec 16,2003 01:57 PM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On December 12, 2003 06:32 PM UTC

Hi, I am using Tabbed MDI on VS.NET 2003/Win2k. In my application I open a form and add it to my MDI Panel. This form can open custom tooltips (top level windows). When I open a plain vanilla form and add it to my mdi, it is selecting my second form properly. But When I click on the first tab of the TabbedMDI, it is not activating the first form. In tools/MDITabbedPanel.cs line#358, even though my form is not activated, mdiChild.ContainsFocus returns true. So, the mdiChild.Activate() never hit. So the user sees the first tab is selected, but the second form is visible. When I goto my windows->and select my first form from the window list (windows list bar item), it is activating my forms properly. I commented out the tools/MDITabbedPanel.cs line#358, it works fine. In MdiItems.cs line#203, you are not making the focus check. Can you remove this focus check in TabbedMDI as well, in your next build? thanks, - Reddy

Administrator [Syncfusion]
Replied On December 12, 2003 08:02 PM UTC

Hi Reddy Thanks. We will take a look at this issue and update this posting. Regards, Arun

Administrator [Syncfusion]
Replied On December 16, 2003 01:57 PM UTC

Hi Reddy, I just heard back from the Essential Tools team on this issue. This seems like a framework bug that ContainsFocus will return true when the form is not active. However, we have removed the ContainsFocus check, but note that we might have to include it back again if this creates problems a different scenario. Regards, Arun


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

Live Chat Icon For mobile
Live Chat Icon