I was just trying to create a control array but I can't do it. What can I do? There's another sintax or it's just there's no control arrays in VB.NET????
killbill07
0
Newbie Poster
Recommended Answers
Jump to PostThis should work I believe.
dim pictureboxarray as list(of picturebox)
Jump to PostSee if this helps.
'// Prerequisites: 3 Buttons Dim myCoolControls() As Control = {Button1, Button2, Button3} For Each onlyCoolControl As Control In myCoolControls : onlyCoolControl.BackColor = Color.SteelBlue : Next
All 6 Replies
jdsurgeon
0
Newbie Poster
codeorder
197
Nearly a Posting Virtuoso
jdsurgeon
commented:
I got you dude.
+1
jdsurgeon
0
Newbie Poster
Paul G
0
Newbie Poster
FreaKing
0
Newbie Poster
codeorder
197
Nearly a Posting Virtuoso
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.