RESET ARRAY OF PICTUREBOX

User avatar
sal21
PlatinumLounger
Posts: 4345
Joined: 26 Apr 2010, 17:36

RESET ARRAY OF PICTUREBOX

Post by sal21 »

i have 3 picturebox with array, similar in the ìmage...

picture1(0)
picture1(1)
picture1(2)

how to reset this array of picturebox and have

picture1
picture2
picture3

???
You do not have the required permissions to view the files attached to this post.

User avatar
sal21
PlatinumLounger
Posts: 4345
Joined: 26 Apr 2010, 17:36

Re: RESET ARRAY OF PICTUREBOX

Post by sal21 »

UP

Becks
2StarLounger
Posts: 196
Joined: 31 Mar 2011, 03:41
Location: Perth, Western Australia

Re: RESET ARRAY OF PICTUREBOX

Post by Becks »

In the Properties window, scroll up the show the top two entries. One of them you should be able to edit to Picture1, etc

User avatar
SpeakEasy
4StarLounger
Posts: 544
Joined: 27 Jun 2021, 10:46

Re: RESET ARRAY OF PICTUREBOX

Post by SpeakEasy »

You also need to delete the Index value in properties, otherwise renaming just ends up creating new control arrays - but you need to do the renaming first.

User avatar
sal21
PlatinumLounger
Posts: 4345
Joined: 26 Apr 2010, 17:36

Re: RESET ARRAY OF PICTUREBOX

Post by sal21 »

TKS TO THE ALL-