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

toolbars twinkling

Thread ID:

Created:

Updated:

Platform:

Replies:

24899 Feb 14,2005 09:15 AM UTC Feb 14,2005 04:22 PM UTC WinForms 1
loading
Tags: Tools
Silenter
Asked On February 14, 2005 09:15 AM UTC

Hi All. I have the next problem. I have Mdi interface. There is menu and toolbars on the main form. and there is menu and toolbars on the child form. So When there are no opened child forms and When I Open child form then toolbars is twinkling. then When I open another child same type form then toolbar does not twinkle. When I Close child form toolbar always twinkles. Please run attached test. 1. click on the "m1" button. ToolBar twinkles. 2. click on the "m1" again. ToolBar twinkles 3. click on the "m1" again ToolBar does not twinkle.(It is good.) 4. Close opened form. ToolBar twinkles. 5. Close first opened form - ToolBar twinkles. Another test: 1. click on the "m1" button. ToolBar twinkles. 2. click on the "m2" button. ToolBar twinkles. 3. switch between Form1 and Form2. ToolBar does not twinkle.(It''s good) 4. Close Form1. ToolBar twinkles. 4. Close Form2. ToolBar twinkles. How Can I fix that twinkling? Thx. Slava. SyncMemoryLeak_6170.zip

Administrator [Syncfusion]
Replied On February 14, 2005 04:22 PM UTC

Hi Slava, The flash is caused by a combination of two things: 1) The MainFrameBarManager registering the ChildFrameBarManager. If you do this ahead of time with RegisterMdiChildTypes, you can avoid this. 2) The bar resizing. If the new BarItems are larger than the old ones (or the old ones don''t exist), then the bar is forced to resize after the merge, causing some flickering. There are two ways to avoid this. You can either add an appropriately-sized BarItem (such as a Help or About option) to your pre-merge bar or add an appropriately-sized blank StaticBarItem with a high merge order (such as a single space or a completely transparent image) to your pre-merge bar. 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

;