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

Floating Toolbar is visible when mainform is hidden

Thread ID:





40777 Feb 13,2006 03:31 PM UTC Feb 13,2006 04:23 PM UTC WinForms 1
Tags: Tools
Asked On February 13, 2006 03:31 PM UTC

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 04:23 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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