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.

SetBarVisibility in the mainFrameBarManager

Thread ID:





24112 Jan 28,2005 03:53 AM Jan 28,2005 11:58 AM Windows Forms 1
Tags: Tools
Jose Egea
Asked On January 28, 2005 03:53 AM

I have several XPMenus.Bar in a MainFrameBarManager, and I would like to make them visible or invisble depending on a selected opcion in a groupBar. My problem is that while I''m making that process the botton panel (it''s fill docked) blinks because the resizing. Is there any way to lock the size of the mainFrameBarManager? Thanks in advance

Administrator [Syncfusion]
Replied On January 28, 2005 11:58 AM

Hi Jose, If you call SuspendLayout() before (and ResumeLayout() after) you change the visibility of the Bars, the Panel won''t resize until after you''ve changed all the Bars. This should prevent the Panel from resizing multiple times, which causes the flickering. Regards, Gregory Austin Syncfusion, Inc.


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.

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.