Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.net control arrays

Status
Not open for further replies.

Bvisual

Programmer
Jul 1, 2005
35
0
0
BE
hello

i now its possible in vb 6.0 to create a control array of buttons, textfields,...

but is it possible to do this in vb.net? how?

ex.
button(INDEX)
textfield(INDEX)
 
yes it is possible.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
maar wanneer ik dezelfde naam geef krijg ik een foutmelding

in vb 6.0 krijgt men iedere keer melding om een control array te maken bij kopieren maar in vb.net is dit niet zo

hoe werkt dit precies?

thx
 
Please post your replies in english so that everyone else can understand them.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
when i give the same name to buttons or textfield i get an error

in vb6.0 when you copie you get a msgbox asking to create control array but not i vb.net

how do you create a control array in vb.net execly

thx
 
there are special control controlarrays for this. or you do it in code. It is not default behaviour for the normal controls.

Sorry maar ca8msm heeft gelijk en het zijn de forum-regels.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
i want to draw the buttons one by one but they need to have the same name but a diffrent index nummber can you give me an example or something


thx
 
do you need to draw them at design time or will runtime do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top