i have 4 pictureBox which are hidden, and now i want to show them one by one, how it can be done?????
Jump to Post
If they are name sequentially you can use a loop and build each name using the indexer of the loop. So if they are named PictureBox1,PictureBox2,etc., the code could look something like this:
For I = 1 to 4 Me.Controls("PictureBox"+I.ToString).Visible = True Next
The controls collection …
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.