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.

SuperToolTip design parameters

Thread ID:

Created:

Updated:

Platform:

Replies:

62877 Jun 25,2007 05:36 AM Jun 25,2007 08:46 AM Windows Forms 1
loading
Tags: Tools
Christoph Gasser
Asked On June 25, 2007 05:36 AM

I'm using the SuperToolTip component and want to habe the same look and feel and behaviour for all the STTs in my application. So what I did is, I created a new component class like that:

public partial class MyToolTip : Syncfusion.Windows.Forms.Tools.SuperToolTip

Now I can define all the behaviour parameters like duration, etc. in that new class. But what I can't do is to define the look and feel of the STT because the look and feel is defined for each instance of the control.

Any idea how to define a general look and feel?

Thany you for your help

PS: I'm using 5.1.1.0

Rashidha F [Syncfusion]
Replied On June 25, 2007 08:46 AM

Hi Christoph,

Thanks for using Syncfusion Products.

Please have a look at the following code snippet.

MyToolTip tooltip1 = new MyToolTip();
tooltip1.UseFading = Syncfusion.Windows.Forms.Tools.SuperToolTip.FadingType.Blend;
Syncfusion.Windows.Forms.Tools.ToolTipInfo x=new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
x.Body.Text = "Supertooltip";
Point point=new Point(10,10);
x.BackColor = Color.Orange;
x.BorderColor = Color.Blue;
tooltip1.Show(x, point, 2000);
x.Header.Text = "Essential Tools";
x.Footer.Text = "-Tooltip";
x.Header.Font=new Font("Impact",8);
x.Header.ForeColor = Color.Green;
x.Separator = true;

The following code snippet which illustrate how to customize the tooltip in your application.

Please let me know if you have any more queries.

Regards,
Rashidha.

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.

;