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.

Toggle Button in Bar Manager

Thread ID:





32595 Aug 3,2005 11:13 PM Aug 9,2005 12:52 AM Windows Forms 3
Tags: Tools
Damien Sawyer
Asked On August 3, 2005 11:13 PM

Hi, Could someone please tell me if there is a way to have a toggle button/checkbox in a bar manager? To put it another way - an on/off switch. Thanks very much in advance, Damien Sawyer.

Administrator [Syncfusion]
Replied On August 5, 2005 12:48 AM

Hi Damien, In the designer, right click on your MainFrameBarManager component and select "Add Detached Commandbar". It will then create a toolbar into which you can add any .NET control.The XPMenus.Bar and the XPToolBar can host objects of type BarItem only and cannot host any Controls.I have attached a sample that illustrates the same.Let me know if this meets your requirement.We appreciate your interest in Syncfusion products. Regards, Ebenezer.P ToogleButton_5456.zip

Damien Sawyer
Replied On August 8, 2005 11:46 PM

Perfect Ebenezer, Thanks! DS

Damien Sawyer
Replied On August 9, 2005 12:52 AM

Hi Ebenezer, Sorry - I think that I jumped the gun a little too soon. Is there any way to attach the ''detached commandbar'' to an MDI child window? Cheers Damien Sawyer


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.