http://linkedin.com/in/mominbd

Popular Posts

Adding ToolTip text on Combox box item in csharp


To add tooltip text in each item of combo box write following code in selectedIndex change event

Suppose cboReason  is a Combox box control.
if (cboReason.Items.Count > 0)
            {
                ToolTip tp = new ToolTip();
                tp.SetToolTip(cboReason, cboReason.Text);
                tp.AutoPopDelay = 5000;
                tp.InitialDelay = 1000;
                tp.ReshowDelay = 500;
                tp.ShowAlways = true;
            }

Tag : C#, Csharp
0 Comments "Adding ToolTip text on Combox box item in csharp"

Back To Top