We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ComboDropDown with tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

71005 Jan 11,2008 06:12 AM Jan 25,2008 03:20 AM Windows Forms 4
loading
Tags: Tools
sunitha
Asked On January 11, 2008 06:12 AM

Is there any property to have tolltip for each item of the combodropdown .How to implement this functionality.

Thanks.



Fathima Shalini P [Syncfusion]
Replied On January 12, 2008 03:47 AM

Hi Sunitha,

Thanks for your interest in Syncfusion product.

To display the tooltip for a control in ComboDropDown controls's dropdown you have to give focus to the popupcontrolcontainer. You can handle Popup event of the popupcontrolcontainer. Please refer to the following code snippet


private void popupControlContainer1_Popup(object sender, System.EventArgs e)
{
this.popupControlContainer1.Focus();
}


Please have a look at this sample that demonstrates this:

http://websamples.syncfusion.com/samples/Tools.Windows/71005/main.htm

Please let me know if any concerns.

Regards,
Fathima



sunitha
Replied On January 13, 2008 10:29 PM

Hi fathima,
Thanks for your reply but my conern is for eaxmple i have a combo box loaded with values from database and for these items i have to display tooltips there are no other controls in my combobox it's just a normal combo box control.

Thanks




Fathima Shalini P [Syncfusion]
Replied On January 24, 2008 08:38 AM

Hi Sunitha,

We regret for delay in getting back to you.

We are working on this issue and we will update you with in one business day.

Thank you for your patience.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On January 25, 2008 03:20 AM

Hi Sunitha,

Thank you for your patience.

If your intention is to display tool tips dynamically depending upon the value selected in the ComboBox, the following code illustrates this:


void comboBoxAdv1_MouseMove(object sender, MouseEventArgs e)
{
this.toolTip1.SetToolTip(this.comboBoxAdv1, this.comboBoxAdv1.SelectedItem.ToString());

}


If I have misunderstood your requirement, could you please explain this in detail, so that I could provide you a solution.

Please let me know if any concerns.

Regards,
Fathima




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;