ARTICLE

How to Create a Balloon Tooltip in C# and Windows Forms

Posted by Mahesh Chand Articles | How do I July 27, 2010
How to create a Balloon Tooltip in C# and Windows Forms
Reader Level:

To create a balloon tooltip, we just need to set IsBalloon property of ToolTip control to true. The following code snippet create a balloon tooltip and attaches it to a Button control.

ToolTip buttonToolTip = new ToolTip();

buttonToolTip.ToolTipTitle = "Button Tooltip";

buttonToolTip.UseFading = true;

buttonToolTip.UseAnimation = true;

buttonToolTip.IsBalloon = true;

 

buttonToolTip.ShowAlways = true;

 

buttonToolTip.AutoPopDelay = 5000;

buttonToolTip.InitialDelay = 1000;

buttonToolTip.ReshowDelay = 500;

 

buttonToolTip.SetToolTip(button1, "Click me to execute.");

Login to add your contents and source code to this article
post comment
     

Hello, why is it that the stem of the balloon tooltip is placed above the balloon. I want the stem placed below. How can I do that?

Posted by Jake Perillano Jan 19, 2011

Hi Mahesh,

i did try to test at my development machine.
buttonToolTip.IsBalloon = true;
is working fine.

but when i deploy to client machine. it will not display.
if i remove the setting or leave it as default.
it will working fine and show what i want to.

any idea what i miss out? or anything need to be install or configure at client machine?

best regard
terence chua
ccheehong@hotmail.com

Posted by terence chua Sep 09, 2010
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.