How to Click a pic that will open a new form?

November 26, 2010 at 17:21:06
Specs: Windows 7
I am doing a project in VB 2008. I am trying to put pics on a form and when clicked on them each will open a specific form. How can this be done? I have all the other forms done except for this step.

See More: How to Click a pic that will open a new form?

Report •


#1
November 27, 2010 at 13:45:29
I'm pretty sure PictureBox implements an onClick event. Use that.

How To Ask Questions The Smart Way


Report •

#2
November 27, 2010 at 15:15:54
Picture box does indeed have a Click event as well as MouseUp and MouseDown.

Click is just a simple Click event.

MouseUp/Down will allow you to check for Left/Right button as well as shift key and the co-ordinates of the mouse when the button was pressed.

Stuart


Report •

#3
November 28, 2010 at 19:07:43
Thank you!

Report •

Related Solutions


Ask Question