Hi guys. This is my first time dealing with toolbarmanager and I tried to look at the online documentation but can't find what I wanted.
In my main form, I have 3 controls, UltraWinTabbedMdi, UltraToolbarsManager and ToolStrip.
May I know what is the usage of this 3 controls and how to edit the toolbar or add new item into it?
Thanks in advance.
Hi Engloon,
You can add a new tool to an existing Toolbar in the following ways.i. From the designer, select the ultraToolbarsManager in the component tray. It will make the designer of the ToolbarsManager active. You will see '[Insert New Tool]' in the Toolbar. Click on it. It will give you 2 options - Insert New Tool, Insert Exisiting Tool.For inserting new tools, click on 'Insert New Tool'. It will bring up a dialog for you to insert a new tool. Select the ToolType, set the caption, Key, etc and click on Add button. This tool will get added to the Toolbar.
ii. Or you can add these to the Tools and the Toolbars collection through the code.
Infragistics.Win.UltraWinToolbars.
ButtonTool b1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("MyButton");
this.ultraToolbarsManager1.Tools.Add(b1);this.ultraToolbarsManager1.Toolbars[0].Tools.AddTool("MyButton");Hope this helps.
ThanksPurnima