 |
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 ... |
| Notices | Welcome to the Gamerz Needs forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |  | 
09-02-2008, 05:33 AM
|  | 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 Points: 777.80 Bank: 3,786.86 Total Points: 4,564.66 | | 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.. | 
09-02-2008, 11:45 AM
|  | 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 Points: 1,022.50 Bank: 109,302.85 Total Points: 110,325.35 | | |
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
| 
09-02-2008, 05:59 PM
|  | 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 Points: 777.80 Bank: 3,786.86 Total Points: 4,564.66 | | |
not the length... i want to call textboxes inside a loop.. some what similar to calling array of integer..
VB6 BTW..
| 
09-02-2008, 07:11 PM
|  | Diamond Hole | | | Last Online: Today 09:10 PM Join Date: Jan 2007 Location: California
Posts: 751
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 Points: 1,515.30 Bank: 94,878.88 Total Points: 96,394.18 | | |
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: | | 
09-05-2008, 07:57 AM
|  | 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 Points: 777.80 Bank: 3,786.86 Total Points: 4,564.66 | | |
got it.. LoL.. but im having troubles manipulating it!! LoL
| 
09-05-2008, 04:19 PM
| | Immortal Beast | | | Last Online: 11-13-2008 04:06 PM Join Date: Aug 2008 Location: Stalkers..
Posts: 349
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 Points: 1,342.50 Bank: 22,980.07 Total Points: 24,322.57 | | |
Lol, if I only knew vb6, I can help you if it was vb9.
| 
09-05-2008, 05:35 PM
|  | Diamond Hole | | | Last Online: Today 09:10 PM Join Date: Jan 2007 Location: California
Posts: 751
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 Points: 1,515.30 Bank: 94,878.88 Total Points: 96,394.18 | |
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 ".
| 
09-06-2008, 03:15 AM
|  | 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 Points: 777.80 Bank: 3,786.86 Total Points: 4,564.66 | |
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. | 
09-06-2008, 05:05 AM
|  | 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 Points: 1,022.50 Bank: 109,302.85 Total Points: 110,325.35 | |
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..
|  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |