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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrong behavior when closing a tabbed MDI child

Thread ID:

Created:

Updated:

Platform:

Replies:

27730 Apr 16,2005 06:54 PM UTC May 3,2005 04:22 PM UTC WinForms 6
loading
Tags: Tools
Randy Magruder
Asked On April 16, 2005 06:54 PM UTC

I have a form that I open as an MDI child. A tab is created properly for it. But the following occurs. 1. When I close the application, only the current MDI form closes (though its tab stays there, the focus switches back to the first tab). 2. When I invoke close() on the child form from within that form, it closes, and leaves its tab hanging. How do I properly remove the tab when the window wants to close itself, and why is the Application''s close ''X'' just invoking a close on the current MDI window. I''m sure I''ve goofed on some properties here, but I''m flummoxed. Randy

Administrator [Syncfusion]
Replied On April 18, 2005 07:10 PM UTC

Hi Randy, I can''t say I''ve seen anything like that before. I''ve attached a sample created in v3.2 that works correctly. Can you try to modify it to recreate your problem? Thank you for your cooperation. Regards, Gregory Austin Syncfusion Inc.

Randy Magruder
Replied On May 1, 2005 05:17 PM UTC

Thanks. Your application works fine. Mine doesn''t. I went through and made sure I was doing the exact same thing that you are, but the wrong behavior persists. Is there a way I can send you the project to look at? Randu >Hi Randy, > > I can''t say I''ve seen anything like that before. I''ve attached a sample created in v3.2 that works correctly. Can you try to modify it to recreate your problem? Thank you for your cooperation. >Regards, >Gregory Austin >Syncfusion Inc. > >

Randy Magruder
Replied On May 1, 2005 05:18 PM UTC

Er, Randy - dang laptop :) >Thanks. > >Your application works fine. Mine doesn''t. I went through and made sure I was doing the exact same thing that you are, but the wrong behavior persists. Is there a way I can send you the project to look at? > >Randu > >>Hi Randy, >> >> I can''t say I''ve seen anything like that before. I''ve attached a sample created in v3.2 that works correctly. Can you try to modify it to recreate your problem? Thank you for your cooperation. > >>Regards, >>Gregory Austin >>Syncfusion Inc. >> >>

Randy Magruder
Replied On May 1, 2005 09:08 PM UTC

Hi Gregory, I went through my code yet again, and this time found some behavior that was blocking the close of one of my child forms. I removed that and now the MDI system seems to be working properly, as it is in the sample you reference below. However, both your application and my application share another negative problem. A gray rectangle temporarily formed around the area of the Main menu. It goes away, but is annoying and intrusive, and I don''t know why it is. the only theory I have is that perhaps the window is created and shown BEFORE it is properly slaved to the MDI Parent window. Can you look again at the sample you sent to me and notice the flash of the gray rectangle? Thanks, Randy >Hi Randy, > > I can''t say I''ve seen anything like that before. I''ve attached a sample created in v3.2 that works correctly. Can you try to modify it to recreate your problem? Thank you for your cooperation. > >Regards, >Gregory Austin >Syncfusion Inc. > >

Administrator [Syncfusion]
Replied On May 2, 2005 04:32 PM UTC

Hi Randy, We currently have an open issue regarding tabbed MDI flicker. As it is likely related to this situation, please refer to Defect #194. It contains a workaround that might reduce the flicker. Regards, Gregory Austin Syncfusion Inc.

Randy Magruder
Replied On May 3, 2005 04:22 PM UTC

Thanks, I will use your workaround. Please log my vote for this one to get fixed soon, as it can really hurt the professional look and feel of an MDI Tabbed app. Thanks, Randy

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.

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

;