Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
ToolTip for ButtonTool in UltraToolbarsManager
posted

Hi there,

I am trying to show a ToolTip on a ButtonTool. So I add the ButtonTool to the Tools of the Toolbar like

 toolBase = ultraToolbarsManager1.Toolbars[0].Tools.AddTool("SOMEKEY");

I ensure ToolTips are showing with:

ultraToolbarsManager1.ShowToolTips = true;
ultraToolbarsManager1.ToolTipDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolTipDisplayStyle.Formatted;

And set the ToolTipText of the Button with 

toolBase.SharedProps.ToolTipText = "SOME TEXT";

The Property ShouldDisplayToolTip is still false. On which properties the depends. What do I have to do to show the ToolTip of the ButtonTool. And can it be displayed when the ButtonTool.SharedProps.Enabled = false?

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Gavin,

    The tooltip should work out of the box, including when it's disabled.

    I attached a sample here that shows how I set this up. The sample has two buttons: one added through the designer and one added in code. Please take a look at the sample and compare it to your project.

    ButtonToolToolTip.zip
Children