Toggle Button in Bar Manager

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.

3 Replies

AD Administrator Syncfusion Team August 5, 2005 04:48 AM UTC

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


DS Damien Sawyer August 9, 2005 03:46 AM UTC

Perfect Ebenezer, Thanks! DS


DS Damien Sawyer August 9, 2005 04:52 AM UTC

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

Loader.
Up arrow icon