---
title: "The ToolTip Control in VB.Net"  
description: "The ToolTip Control in VB.NetThe ToolTip control is used to display some text when the mouse is move over a control. This control is helpful in prov"  
author: "Pushpendra Singh"  
published: 2010-12-13  
updated: 2020-03-04  
canonical: https://www.mindstick.com/articles/324/the-tooltip-control-in-vb-dot-net  
category: "vb.net"  
tags: ["vb.net"]  
reading_time: 2 minutes  

---

# The ToolTip Control in VB.Net

## The ToolTip Control in VB.Net

The [ToolTip control is used to display](https://www.mindstick.com/articles/417/tooltip-control-in-c-sharp-dot-net) some text when the mouse is move over a control. This control is helpful in providing quick information when the user moves the [pointer](https://www.mindstick.com/articles/11/pointers) over an associated control.\

## How to use ToolTip control

[Drag and drop](https://www.mindstick.com/forum/454/how-to-drag-and-drop-multiple-image-from-one-canvas-to-onther-canvas-in-html5) a Tooltip control and control on which you want to use tooltip control

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/f476568a-3c09-4687-8867-7abfdf5eabb1.png)

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/7707b4b5-0a51-4860-8bcf-fd4f31a1081d.png)

## Code:

```
Public Class Form18     Private Sub Button1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs)  Handles Button1.MouseHover         'show tooltip on button         ToolTip1.SetToolTip(Button1, "Click  to show time")     ' SetToolTip method assign a ToolTip with control     End SubEnd Class
```

**Run the [project](https://yourviews.mindstick.com/story/1788/things-to-ensure-your-construction-project-is-successful)**

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/af62cc5d-1e3a-41c3-bb91-82f22c05312f.png)

When mouse move over the Time [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) then MouseHover event will fire and tooltip text will show.

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/e98074f3-d03f-4de8-abfe-84db51721f27.png)

**ToolTip [properties](https://yourviews.mindstick.com/view/81845/now-it-s-possible-to-predict-properties-of-any-molecule)**

**[Active](https://answers.mindstick.com/qa/97113/why-does-an-active-ftp-not-work-with-network-firewalls)** - set the tooltip [status](https://answers.mindstick.com/qa/37874/the-constitution-should-give-india-domination-status-was-a-proposal-in), by [default](https://www.mindstick.com/interview/12771/what-is-the-importance-of-default-resources) it set to true set false to hide the tooltip.

**ToolTipIcon -**set the icon that will show on the tooltip.

```
Private Sub Form18_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         'set the tooltip icon         ToolTip1.ToolTipIcon = ToolTipIcon.InfoEnd Sub
```

\

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/cf0d1547-1143-4756-9865-20bbf8ee22ef.png)

**IsBalloon:** when IsBalloon [property](https://www.mindstick.com/articles/198559/an-ownership-of-property-in-hua-hin) is true then tooltip will display as a balloon.

```
Private Sub Form18_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         'tooltip show as baloon         ToolTip1.IsBalloon = True End Sub
```

\

![ToolTip Control in VB.Net](https://www.mindstick.com/mindstickarticle/ec874100-4fcb-4dbd-8f6f-c600e61773e6/images/c1dbc85c-5c47-4938-9e07-e48f95d13584.png)

---

Original Source: https://www.mindstick.com/articles/324/the-tooltip-control-in-vb-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
