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

MDI and MainFrameBarManager

Thread ID:

Created:

Updated:

Platform:

Replies:

25030 Feb 16,2005 03:52 PM UTC Feb 18,2005 03:38 PM UTC Windows Forms 5
loading
Tags: Tools
Muayyad .M. Samhan
Asked On February 16, 2005 03:52 PM UTC

Hi I am using syncfusion essential suite v 3.0.1.0 I have Three problems First one with ChildFrameBarManager, the problem imitating in the flikiring of the bars during the merge process of the ChildBars as shown in the sample attached. second one is the reordering of the ChildFrameBarManager items (inspite of setting the ''AllowItemsReorderingOnShrunk'' property to false on the ChildFrameBarManagerChild , "This is not always happening") third problem is in the TabbedMDIManager when setting its ''right to left'' property to true and opening many child forms in the MDI form then the close button will disappear (just when the right to left property set to true) I have tried so many solutions and didn''t work, Please any help. note : i don''t know what the problem with your upload form, so if you can give me an email address to send the sample file. Thanks on Advanced

Administrator [Syncfusion]
Replied On February 16, 2005 04:25 PM UTC

Hi Muayyad, You can send the sample to me at gregorya@syncfusion.com #1 is pretty normal. There''s a few things that can prevent the flickering depending on the exact situation. These include: Using Resume/SuspendLayout, pre-merging the bars with RegisterMdiChildTypes, and making sure that none of the Child BarItems are larger than the Parent BarItems. I''ll take a look at your sample and let you know which ones will help. #2 is happening because merging uses MergeOrder to determine the order of the BarItems. You''ll need to set the MergeOrder for all of the BarItems so that they end up in the order you want. If they all have a MergeOrder of 0 (the default), the order won''t end up like you expect. I''ll take a look at #3 once I get your sample. I''ve also updated your DirectTrac incident: 16730. Regards, Gregory Austin Syncfusion Inc.

Muayyad .M. Samhan
Replied On February 16, 2005 06:40 PM UTC

Thank u , I''ve send the sample to your email

Administrator [Syncfusion]
Replied On February 16, 2005 09:12 PM UTC

Hi Muayyad, I''ll be updating your DirectTrac incident momentarily. Regards, Gregory Austin Syncfusion Inc.

John Baker
Replied On February 18, 2005 02:24 PM UTC

I am actually having a simular problem. I am interested in the three possible solutions. RegisterMdiChildTypes doesn''t help my flicker. Where would I use Resume/SuspendLayout to help? >Hi Muayyad, > >You can send the sample to me at gregorya@syncfusion.com > >#1 is pretty normal. There''s a few things that can prevent the flickering depending on the exact situation. These include: Using Resume/SuspendLayout, pre-merging the bars with RegisterMdiChildTypes, and making sure that none of the Child BarItems are larger than the Parent BarItems. I''ll take a look at your sample and let you know which ones will help. > >#2 is happening because merging uses MergeOrder to determine the order of the BarItems. You''ll need to set the MergeOrder for all of the BarItems so that they end up in the order you want. If they all have a MergeOrder of 0 (the default), the order won''t end up like you expect. > >I''ll take a look at #3 once I get your sample. > >I''ve also updated your DirectTrac incident: 16730. > >Regards, >Gregory Austin >Syncfusion Inc.

Administrator [Syncfusion]
Replied On February 18, 2005 03:38 PM UTC

Hi John, In more detail, the three solutions are: 1) Use SuspendLayout before opening or closing a child. Then use ResumeLayout 2) Call RegisterMdiChildTypes and pass it the types of all your child forms. The bar flickers while the MainFrameBarManager tries to calculate the merged bar, so calculating it ahead of time prevents that. 3) Include a BarItem in the parent''s version of the bar that is at least as large as the largest BarItem in the child''s version. When switching, the bar will be momentarily resized to the size of the parent''s version of the bar. If it''s a different size than the child''s bar, there will be a slight flicker. Regards, Gregory Austin Syncfusion Inc.

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

;