|
-
Jun 16th, 2010, 02:48 PM
#2
Fanatic Member
Re: picture boxes visual basic 2008.....
This is a .Net question posted in the vb6 forum - i guess the mods will move this thread soon.
I've never done this but on the .net forum we discussed things like this just a couple of days ago. Search for "Control Arrays".
It appears that something like this may work. Create your picture boxes on your form picturebox1, picturbox2, picturebox3 etc
Then in your loop you can refer to them like this:-
for i = 1 to 7
me.controls("PictureBox" & i).image = someimage
next i
As I said, I've never done that before so the syntax may not be accurate but it may put you on the right track
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|