I didnt see any samples on using the UltraToolTipManager for the tool collection in a UltraToolbarsManager. Is this possible, and are there any samples that I missed that show it being used?
Thanks
You do not need to use an UltraToolTipManager with tools. Each tool has the following properties on its SharedProps: ToolTipTitle, ToolTipText, and ToolTipTextFormatted. These will allow you to control the tool tips which appear when hovering over each tool.
I do see those props, but I wanted to use the ttmanager (tooltip) for its image and appearance properties. If I include a textboxeditor and have a ttmanager on the form the textboxeditor has the properties to set it for the ttmanager, and it can be done thru code. It then gets the image and apperances that are like all the other controls on the form, but with a tbmanager I dont see those props added to the designer property window, and hence the tooltips look different. If I would try thru code for the tbmanager tool collection, but its a converting issue I think that would cause a problem, due to the windows.form.controls and the toolbase.
I guess what I am asking for is, can I make the tbmanager tools have the same appearance (gradient, colors, whatever I use) and image (or custom) as the other controls on the form?
Thanks Mike
Thanks for the quick reply. I see that you are setting tooltip = "add" in .cs file in your solution, but it never appeared on buttonTool3 tool with tooltip "add" on mini tool bar
I forgot to give you version. I'm working on Netadvantage 11.2 CLR 4.0. I would suggest you to try on same version.
You are right that i didnt set ShowToolTips but i just tried with that setting too but didnt help.
Thanks,
Satish
Please
Hello again Satish,
It just came to my mind that you might have not set 'ShowToolTips' on the 'Settings' object of the 'MiniToolbar' to True. I did it in my sample.
Hello Satish,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
I have tried all below three.
ultraToolbarsManager.MiniToolbar.Tools["Add"].SharedProps.Caption= "Add";
ultraToolbarsManager.MiniToolbar.Tools["Add"].SharedProps.ToolTipText = "Add";
ultraToolbarsManager.MiniToolbar.Tools["Add"].SharedProps.ToolTipTextFormatted = "<span>Add</span>";
Nothing worked. Not sure Why tool tip not working. I would appreciate if you can shed some light on this.
Satish.
Just to reply my own question :)
I think this is doable by following these instructions: http://forums.infragistics.com/forums/p/8743/34310.aspx#34310
I did not try it on UltraToolTip but it worked just fine on UltraDesktopAlert :)