Floating Toolbar is visible when mainform is hidden

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

1 Reply

MJ Mano J Syncfusion Team 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

Loader.
Up arrow icon