Sign in with
Sign up | Sign in
Your question

VB: How to make a picture box change picture on click, and back again?

Last response: in Apps General Discussion
Share
September 15, 2012 11:16:29 PM

Im working on a program in VB 2012. I want to make it so that when a picture box is clicked, its picture changes to another picture. When its clicked again, its picture changes back to the original.
a b L Programming
September 15, 2012 11:49:11 PM

This sounds suspiciously like a class assignment so no code. However, you might want to investigate the picture box's on_click method as one way to solve the problem.
m
0
l
September 15, 2012 11:54:07 PM

ex_bubblehead said:
This sounds suspiciously like a class assignment so no code. However, you might want to investigate the picture box's on_click method as one way to solve the problem.

Could you please help me with the code? I have never done anything like this before.
m
0
l
Related resources
a b L Programming
September 15, 2012 11:59:23 PM

What GUI framework are you working with? Winforms, WPF, Silverlight or Metro?
m
0
l
!