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
70
How to set Ultracombo tooltiptext delay time.
posted

Hi ,

I am able to set the tooltip ( delay time )for textbox  as i required.

here is my code

private Infragistics.Win.ToolTip tTip= new Infragistics.Win.ToolTip (this);

protected override void OnMouseHover(EventArgs e)

{

if (this.Text != string.Empty)
{
tTip.ToolTipText = this.Text.ToString();
tTip.AutoPopDelay = 500000; // able to set the delay time
tTip.Show();
}

}

protected override void OnMouseLeave(EventArgs e)
{

base.OnMouseLeave(e);
tTip.Hide();

}

How can i set the delay time of tooltip in ultracombocell.

her is my code

       protected override void OnInitializeRow(Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            if (!e.ReInitialize)
            {                            
                e.Row.Cells[this.DisplayMember].ToolTipText= e.Row.Cells[this.DisplayMember].Value.ToString();
               
            }
            base.OnInitializeRow(e);
        }

Please let me know how we can set the delaytime as we have done for textbox?  

if we are able to set the delay time using ultratooltipmanager please provide me the code. Its very urgent.

Thanks

Subbu.

Parents
  • 469350
    Offline posted

    Hi Subbu,

    What exactly do you mean by "an ultracombocell?" Are you talking about a cell in the WinGrid which drops down a list? Or a cell in the UltraCombo control's list portion?

    Either way, you cannot use the ToolTipText property for this. You would have to turn off the ToolTips on the control itself and use an UltraToolTipManager and provide tooltips for the cell yourself.

Reply Children