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.

ToolTip on Click

Thread ID:

Created:

Updated:

Platform:

Replies:

92638 Jan 27,2010 02:51 PM Feb 8,2010 08:27 AM Windows Forms 3
loading
Tags: Tools
Ruslan Gasanbekov
Asked On January 27, 2010 02:51 PM

Hello,

I would like to have a SuperToolTip open whenever a certain
control is clicked, i've got it to show but at wrong position.
Can you help me with figuring how to open the tooltip so that
tooptips bottom-right corner would be adjecent to clicked control's upper-left corner ?

10x.

Rajasekar B [Syncfusion]
Replied On January 28, 2010 07:12 AM

Hi,

In the click event of the control, you can add this code. Here, tootip will be displayed at the mouse position. Only location has to be changed based on your requirement.

ToolTipInfo toolTipInfo = new ToolTipInfo();
toolTipInfo.Body.Text="Button";
this.superToolTip1.Show(toolTipInfo, MousePosition, 2000);

I have attached the sample. Refer to it.

Thanks,
Rajasekar



SupertooltipSample_695816c1.zip

Ruslan Gasanbekov
Replied On February 7, 2010 07:01 AM

10x for your help.

Rajasekar B [Syncfusion]
Replied On February 8, 2010 08:27 AM

Hi,

Thanks for the update.

Thanks,
Rajasekar

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.

;