O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ToolTips

ToolTip Help shows small snippets of help that you define automatically as you hover the cursor over a control. If the control has ToolTip help defined for it, a small window containing the help appears, and when you move the cursor away the help automatically disappears.

ToolTip Help is very simple to provide in your applications. It involves only two steps. First, you need to add a System.Windows.Forms.ToolTip component to the form. For each control on the form that you want to provide a ToolTip for, you need to call the SetToolTip method on the ToolTip component. This method takes two arguments—a control and the ToolTip help string.

You can call the SetToolTip method directly in your code, or you could set it using the Properties ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required