|
-
Mar 25th, 2006, 02:31 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Searching for an item in an array and going to it
Hey all!
I was wondering if there was a code for searching for an item in an array. For example.. In a textbox it says 80 numbers:
1
2
3
4
5
6
7
8
9
10
22
66
68
etc..
Now when you click a button it finds 22 and then highlights it. It also goes to it. Like.. If there is a scrollbar it also adjusts it so you can actually see the 22. Yea.. If anyone knows please don't hesitate to answer!
-
Mar 25th, 2006, 09:21 PM
#2
Lively Member
Re: Searching for an item in an array and going to it
try TextBox1.Text.IndexOf("22")
-
Mar 25th, 2006, 09:41 PM
#3
Thread Starter
Frenzied Member
Re: Searching for an item in an array and going to it
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
|