|
-
Jan 15th, 2004, 10:32 AM
#1
Thread Starter
Lively Member
textbox array
hi friends
How to use a textbox array ?
I have taken a textbox array on the form and textbox
now how do i related the same link the same ie textbox and textbox array
how can i set a index of textbox array on textbox
Please help
with Regards
sameer Mulgaonkar

-
Jan 15th, 2004, 12:00 PM
#2
Sleep mode
I don't understand what you mean really but if you mean something about array of controls , it's not present in .NET (if you mean the one like in VB6) . Something used to be in VB6 , like this :
TextBox(0).text=
TextBox(1).text=
-
Jan 16th, 2004, 02:19 AM
#3
Thread Starter
Lively Member
me.textboxarray.setindex(textbox1,1)
me.textboxarray.setindex(textbox2,2)
this is the code to be written in the code window but can we do this on form design mode
with Regards
sameer Mulgaonkar

-
Jan 16th, 2004, 01:03 PM
#4
Sleep mode
There is no such property in the Textbox control named 'setindex' . What are you wanting to do exactly ?
-
Jan 17th, 2004, 02:20 AM
#5
Thread Starter
Lively Member
My question is how to use a textbox array in VB .net ?
with Regards
sameer Mulgaonkar

-
Jan 17th, 2004, 02:24 AM
#6
Originally posted by sameer spitfire
My question is how to use a textbox array in VB .net ?
Buy a VB.NET book
VB Code:
Dim txtBox() As New System.Windows.Forms.TextBox
It's something like that to declare it, you should be able to figure out how to use it. If you can't, I'd suggest buying a book.
-
Jan 17th, 2004, 03:17 AM
#7
Sleep mode
Originally posted by sameer spitfire
My question is how to use a textbox array in VB .net ?
You post but you don't read responses . I answered the question and provided two prossiblities for your question .
-
Jan 17th, 2004, 03:59 PM
#8
New Member
Arrays of Controls
If you'd like to see a working example of control arrays, the code can be found in Visual Basic .NET Primer Plus, by Jack Purdum, Howard Sams Publishing, pp. 301-306.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|