citkid
Goto Top

textbox als array in VB.NET?

Hallo,
bin noch Anfänger im Umgang mit VB.NET.

In Visual Basic ist z. B. die Verwendung einer Textbox in einer Dimension zulässig. So kann man ganz einfach die Position mal eben verschieben:

for i=0 to 9
textbox1(i).left = 120
next i

Dabei ist es mir egal ob das nun eine Textbox, eine Schaltfläche o. ä. ist.
Aber wie löst man das in VB.net?

Ich hoffe nicht so:

textbox0.left = 120
textbox1.left = 120
textbox2.left = 120
...

Content-Key: 89810

Url: https://administrator.de/contentid/89810

Printed on: April 26, 2024 at 06:04 o'clock

Member: bastla
bastla Jun 14, 2008 at 10:51:13 (UTC)
Goto Top
Member: citkid
citkid Jun 15, 2008 at 07:03:33 (UTC)
Goto Top
Genau das habe ich gesucht.

Danke
citkid