Groups | Blog | Home
all groups > vb.net > april 2004 >

vb.net : please help


enque
4/24/2004 10:30:09 PM
I want to do visible a range of textboxs.
each box is called txtm01, txtm02, txtm03 .....
I want to make a loop that makes visible and invicible
some
range of boxs.
So I tried this code, but the machine got stuck
what Im doing wrong?
''''''''''''''''''
Do
z += 1
z1 = "txtm0" & z
z2 = z1 & ".Visible = True"
Loop Until z = 1
''''''''''''''''''''''''''''''''''''
Here I want to make visible the textboxs= txtm00 and
txtm01
Armin Zingler
4/25/2004 12:00:54 PM
"enque" <enqueoshy@hotmail.com> schrieb
[quoted text, click to view]

Add the textboxes to an array and you'll be able to use a loop.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
hirf-spam-me-here NO[at]SPAM gmx.at
4/25/2004 2:10:52 PM
* "enque" <enqueoshy@hotmail.com> scripsit:
[quoted text, click to view]

\\\
Dim atxt() As TextBox = {TextBox1, TextBox2, ..., TextBoxn}
///

Access: 'atxt(<index>)'.

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button