Hi,
I am having problem with UltraToolbarsManager. Using Customize - Tools, I have created 'File' popupmenu and two buttons Test1 and Test2,the two buttons is under the popupmen. Now I want to change the caption of two Buttons, I don't know how to do it with the code (I can set the caption in the designing time,Now want to set it with code)?
Thanks!
Dear Mike :
With your help, It's ok now, thank you!
Tramp
Hi Tramp,
You can use the Tools collection just loop through the tools.
foreach (UltraToolBase in this.UltraToolbarsManager.Tools)
{
}
Thanks for your help.
If I don't know know how many popupmen and button and other tool Types, How to use foreach to list all of them on this UltraToolbarsManager?
Many thanks
this.ultraToolbarsManager1.Tools["Test1"].SharedProps.Caption = "My caption";