Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I Create a Mouseover Tooltip on an Image in VB.NET?

Can I create a tooltip that will show up when a user moves his/her cursor over an image? I can't find such a property in Visual Studio, and I've scoured Google to no avail. I'm using an image in a PictureBox.

Here's to anyone out there on StackOverflow instead of some awesome Halloween party! Yay!

like image 401
Lou Avatar asked Oct 30 '10 02:10

Lou


People also ask

How do I add tooltips in Visual Basic?

Set a ToolTip in the designerIn Visual Studio, add a ToolTip component to the form. Select the control that will display the ToolTip, or add it to the form. In the Properties window, set the ToolTip on ToolTip1 value to an appropriate string of text.

What is the text called when you hover over a picture?

The tooltip, also known as infotip or hint, is a common graphical user interface (GUI) element in which, when hovering over a screen element or component, a text box displays information about that element, such as a description of a button's function, what an abbreviation stands for, or the exact absolute time stamp ...

What is hover ToolTip?

A tooltip is a user interface component containing text that appears when a user hovers their cursor over an element.

What is an image ToolTip?

A tooltip is a guiding message (text or image) that appears when you hover over a graphic element. It is especially useful when the content is dedicated to a complicated subject and you want to provide more information on the topic, or describe an image, for example.


1 Answers

yea, for some reason the Picturebox doesnt have one.


imports System.Drawing


dim tt as new ToolTip()
tt.SetToolTip(picPicture, "This is a picture") 

and dont worry, the weekend has only started, plenty of time to party.

like image 102
jasper Avatar answered Sep 19 '22 13:09

jasper