Support Forums

Full Version: Make Buttons to Change Visibility? [VB.NET]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone give me to code so that if I click one button it makes the old picture box invisible and it makes another one visible?
Code:
PictureBox1.Visible = True
PictureBox2.Visible = False

use that under an event.

and you will see how it works.
(09-12-2010, 02:49 AM)null(void) Wrote: [ -> ]
Code:
PictureBox1.Visible = True
PictureBox2.Visible = False

use that under an event.

and you will see how it works.

This is a method that works.
Use it as it is simple.