AD
Administrator
Syncfusion Team
October 22, 2003 07:21 PM UTC
Hi Terry,
The following code should do the job.
/* associates the ToolBar with the DockingManager and sets it as a floating control initially */
this.dockingManager1.FloatControl(this.myToolBar, this.myToolBar.ClientRectangle);
/* sets the ToolBar as float only and it can never be docked */
this.dockingManager1.SetFloatOnly(this.myToolBar, true);
/* hides the 'X' close button on the ToolBar so that it can never be closed */
this.dockingManager1.SetCloseButtonVisibility(this.myToolBar, false);
Please let me know if this helps. Thanks for choosing Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.
TF
Terry Foster
October 23, 2003 10:20 AM UTC
The problem I see now is that all three methods of the 'DockManager' class you suggested take a 'Control' class object, which the Syncfusion 'Bar' class does not derive from. How can I do what you've suggested with a syncfusion toolbar that I've created in design mode?
Thanks,
Terry
TF
Terry Foster
October 23, 2003 10:20 AM UTC
The problem I see now is that all three methods of the 'DockManager' class you suggested take a 'Control' class object, which the Syncfusion 'Bar' class does not derive from. How can I do what you've suggested with a syncfusion toolbar that I've created in design mode?
Thanks,
Terry
AD
Administrator
Syncfusion Team
October 23, 2003 11:54 AM UTC
Hi Terry,
I had misinterpreted your query earlier and assumed that you were referrring to WinForms ToolBar control. Since you are using Syncfusion ToolBar, please refer to the Knowledgebase article pointed out by Arun above for this purpose. I apologise for the confusion caused.
Regards,
Guru Patwal
Syncfusion, Inc.