an array of texboxes

Visual Basic Discuss, an array of texboxes at Programmers Lounge forum; does anybody have an idea if its possible to make an array of textboxes?? i have to make some sort ...


Go Back   Gamerz Needs - For All Your Gaming Needs! > Technology Zone > Programmers Lounge > Visual Basic
Forgot Password? | Sign Up!

Notices

Advertisement
   

Reply
 
Bookmark this Thread Tools Display Modes
  #1  
Old 09-02-2008, 05:33 AM
dirky00018's Avatar
Violet Hole
 
Last Online: 11-27-2008 07:43 PM
Join Date: Mar 2007
Posts: 353
Thanks: 42
Thanked 18 Times in 12 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 5
dirky00018 is on a distinguished road
Points: 777.80
Bank: 3,786.86
Total Points: 4,564.66
Dark Blue - dirky00018 Dark Blue - dirky00018 Dark Blue - dirky00018 
Question an array of texboxes

does anybody have an idea if its possible to make an array of textboxes??

i have to make some sort of status bar.. its for my project about round robin..

example:
a user inputs 20 numbers ranging from 0-9. and i have show each number entered in a textbox.. the length of the textbox illustrates the size of the number entered..
  #2  
Old 09-02-2008, 11:45 AM
kaswar's Avatar
Registered Users +
 
Last Online: 11-22-2008 02:09 PM
Join Date: Nov 2006
Location: Location:
Posts: 2,059
Thanks: 230
Thanked 221 Times in 145 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 11
kaswar will become famous soon enough
Points: 1,022.50
Bank: 109,302.85
Total Points: 110,325.35
Here ya go. Don't get drunk! O.O - joriannn Marked as kashin's property. (One of the four Mighty Titans led by sir SpaceCake) - kashin Merry christmas and seriously i couldnt find any other gift - ItsmYarD Merry Christmas N Happy New Years!!! - BiGbAnG to karwas. Bang - stormer320 
gotcha RPKMHFTAGUITALABPC - ROVE ure not drunk enough yet - swordmas754 
Gold - Wizxon Green - swordmas754 Green - swordmas754 
Send a message via MSN to kaswar
Are you trying to say that your trying to find the length of the text entered in the TextBox?

if so, then do SizeOf() or Length()

ie.
lul = SizeOf(TextBox.Text)
lul = Length(TextBox.Text)


if its something else then tell me
  #3  
Old 09-02-2008, 05:59 PM
dirky00018's Avatar
Violet Hole
 
Last Online: 11-27-2008 07:43 PM
Join Date: Mar 2007
Posts: 353
Thanks: 42
Thanked 18 Times in 12 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 5
dirky00018 is on a distinguished road
Points: 777.80
Bank: 3,786.86
Total Points: 4,564.66
Dark Blue - dirky00018 Dark Blue - dirky00018 Dark Blue - dirky00018 
not the length... i want to call textboxes inside a loop.. some what similar to calling array of integer..

VB6 BTW..
  #4  
Old 09-02-2008, 07:11 PM
wassssup34579's Avatar
Diamond Hole
 
Last Online: Yesterday 09:10 PM
Join Date: Jan 2007
Location: California
Posts: 751
Blog Entries: 1
Thanks: 143
Thanked 99 Times in 50 Posts
Nominated 6 Times in 3 Posts
TOTW/F/M Award(s): 0
Latest Blog: blahh!!!
Rep Power: 6
wassssup34579 will become famous soon enough
Points: 1,515.30
Bank: 94,878.88
Total Points: 96,394.18
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Send a message via AIM to wassssup34579 Send a message via MSN to wassssup34579
try searching up on how to create a "control array". thats what i used when i created the runescape http proxy hack.
The Following User Says Thank You to wassssup34579 For This Useful Post:
dirky00018 (09-05-2008)
  #5  
Old 09-05-2008, 07:57 AM
dirky00018's Avatar
Violet Hole
 
Last Online: 11-27-2008 07:43 PM
Join Date: Mar 2007
Posts: 353
Thanks: 42
Thanked 18 Times in 12 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 5
dirky00018 is on a distinguished road
Points: 777.80
Bank: 3,786.86
Total Points: 4,564.66
Dark Blue - dirky00018 Dark Blue - dirky00018 Dark Blue - dirky00018 
got it.. LoL.. but im having troubles manipulating it!! LoL
  #6  
Old 09-05-2008, 04:19 PM
Immortal Beast
 
Last Online: 11-13-2008 04:06 PM
Join Date: Aug 2008
Location: Stalkers..
Posts: 349
Blog Entries: 1
Thanks: 126
Thanked 80 Times in 44 Posts
Nominated 1 Time in 1 Post
TOTW/F/M Award(s): 0
Latest Blog: Vacation to IRAQ, and Kuwait.
Rep Power: 0
The Legend is an unknown quantity at this point
Points: 1,342.50
Bank: 22,980.07
Total Points: 24,322.57
Lets Get Drunk!!! Wait Your Too Young - TheMangoKid So you don't starve - TheMangoKid 
Green - The Legend Lavender - The Legend Gold - The Legend Gold - The Legend Gold - The Legend 
Gold - The Legend Gold - The Legend Gold - The Legend Gold - The Legend Gold - The Legend 
Gold - The Legend Gold - The Legend Gold - The Legend Gold - The Legend Gold - The Legend 
Gold - The Legend 
Lol, if I only knew vb6, I can help you if it was vb9.
  #7  
Old 09-05-2008, 05:35 PM
wassssup34579's Avatar
Diamond Hole
 
Last Online: Yesterday 09:10 PM
Join Date: Jan 2007
Location: California
Posts: 751
Blog Entries: 1
Thanks: 143
Thanked 99 Times in 50 Posts
Nominated 6 Times in 3 Posts
TOTW/F/M Award(s): 0
Latest Blog: blahh!!!
Rep Power: 6
wassssup34579 will become famous soon enough
Points: 1,515.30
Bank: 94,878.88
Total Points: 96,394.18
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 No Message - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 Black - wassssup34579 
Send a message via AIM to wassssup34579 Send a message via MSN to wassssup34579
try something like:
Code:
TextboxArray[1].text = \\"This is the first textbox\\"
TextboxArray[2].text = \\"This is the second textbox\\"
edit: for some reason, it adds backslashes in front of each ".
  #8  
Old 09-06-2008, 03:15 AM
dirky00018's Avatar
Violet Hole
 
Last Online: 11-27-2008 07:43 PM
Join Date: Mar 2007
Posts: 353
Thanks: 42
Thanked 18 Times in 12 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 5
dirky00018 is on a distinguished road
Points: 777.80
Bank: 3,786.86
Total Points: 4,564.66
Dark Blue - dirky00018 Dark Blue - dirky00018 Dark Blue - dirky00018 
yea i already have that.. i am even changing width and position of every textbox.. the problem is, sometimes it shows the wrong text.. i think there is something wrong with my algorithm.. but thanks for the help about control array.
  #9  
Old 09-06-2008, 05:05 AM
kaswar's Avatar
Registered Users +
 
Last Online: 11-22-2008 02:09 PM
Join Date: Nov 2006
Location: Location:
Posts: 2,059
Thanks: 230
Thanked 221 Times in 145 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 11
kaswar will become famous soon enough
Points: 1,022.50
Bank: 109,302.85
Total Points: 110,325.35
Here ya go. Don't get drunk! O.O - joriannn Marked as kashin's property. (One of the four Mighty Titans led by sir SpaceCake) - kashin Merry christmas and seriously i couldnt find any other gift - ItsmYarD Merry Christmas N Happy New Years!!! - BiGbAnG to karwas. Bang - stormer320 
gotcha RPKMHFTAGUITALABPC - ROVE ure not drunk enough yet - swordmas754 
Gold - Wizxon Green - swordmas754 Green - swordmas754 
Send a message via MSN to kaswar
Make sure you get all the conversion and other stuff right maybe sometimes thats the problem lol

Legend, its all basically the same thing, you just don't know.

Last edited by kaswar; 09-06-2008 at 05:32 AM..
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump