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.

Floating Toolbar is visible when mainform is hidden

Thread ID:





40777 Feb 13,2006 10:31 AM Feb 13,2006 11:23 AM Windows Forms 1
Tags: Tools
Asked On February 13, 2006 10:31 AM

Hi there, I have a problem with XPMenu''s. If there are Toolbars that are floating then hiding the mainform they keep visible. What am I doing wrong. Regards Erwin Davidse

Mano J [Syncfusion]
Replied On February 13, 2006 11:23 AM

Hi Erwin, You could hide the bars using SetBarVisibility method as follows: for(int i=0; i< this.mainFrameBarManager1.Bars.Count; i++) { Bar bar = this.mainFrameBarManager1.MainFrameBarManager.GetMergedEquivalent(this.mainFrameBarManager1.Bars[i], this.mainFrameBarManager1.Bars[i]); this.mainFrameBarManager1.GetCommandBarManager().SetBarVisibility(bar, false); } I have attached a sample that shows this completely. Please refer to it and let me know if this meets your requirements. Thanks for using Syncfusion products. Regards, Mano ToolBars_Hide.zip


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.