ToolTip in Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This lesson describes the ToolTip control


ToolTip

This component allows you to provide tooltip help when you hover the mouse over another control.

ToolTip

After you add a ToolTip component to a form, the other controls on the form get a special ToolTip property.

For example, suppose that you create a ToolTip component named ToolTip1. Then a TextBox on the form would have a new property named "ToolTip on ToolTip1."

example

Set that property to the text you want the ToolTip to display, and you are all set.

baloon

Similar to HelpProvider you set the ToolTip programmatically:

    ToolTip1.SetToolTip(TextBox1, "This field is required.")

Previous Lesson | Next Lesson


Share This

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.