i have 4 pictureBox which are hidden, and now i want to show them one by one, how it can be done?????
pardeepkhatri 0 Light Poster
Recommended Answers
Jump to PostIf 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
tinstaafl 1,176 Posting Maven
pardeepkhatri 0 Light Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.