Hi
I just want to add a tooltip for each item in a combo box. i am using c#.net windows application.
There is no option like
combobox.items[1].tooltip();
Is there any way to add tooltip it ?
Hi
I just want to add a tooltip for each item in a combo box. i am using c#.net windows application.
There is no option like
combobox.items[1].tooltip();
Is there any way to add tooltip it ?
You will need to create your own UserControl.
Having a ToolTip for each item in a combobox is an unusual requirement; perhaps you could use a 2 column combobox instead?
private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) { ToolTip toolTip1 = new ToolTip(); toolTip1.AutoPopDelay = 0; toolTip1.InitialDelay = 0; toolTip1.ReshowDelay = 0; toolTip1.ShowAlways = true; toolTip1.SetToolTip(this.comboBox1, comboBox1.Items[comboBox1.SelectedIndex].ToString()) ; }