hello friends
i cant find the solution to create control array in vb.net.for e.g i want to create calculator.it required so many buttons,take so many buttons ,give them a name and handle them at the time of coding is cumbersome task.so if we use button's array like in VB 6.0,by setting its index property.but in VB.net i couldnot find the index property at design time.can you pls help me to do this?
sheelap
0
Newbie Poster
Recommended Answers
Jump to PostDo something like this:
Dim btnArray(10) As System.Windows.Forms.Button For i As Integer = 0 To 9 btnArray(i) = New System.Windows.Forms.Button Next i
All 3 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Hazuan Nazri
0
Junior Poster in Training
Reverend Jim
4,686
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
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.