|
-
Feb 11th, 2000, 02:38 AM
#1
Thread Starter
Hyperactive Member
How can I retrieve the text from a specific entry in a listbox. I want to use the ListIndex property. The way the MSDN files say to do it is this:
List(List1.ListIndex)
However, when I do that, VB gives me an error saying that List is an undefined function. So, what can I do?
------------------
Ryan
-
Feb 11th, 2000, 02:52 AM
#2
Use list1.text
Index it with the index number
------------------
Boothman
There is a war out there, and it is about who controls the information, it's all about the information.
-
Feb 11th, 2000, 03:49 AM
#3
New Member
Like this:
list1.ListIndex = ndexNumber
Result=list1.Text
Hope this helps somewhat!

Litehouse...
-
Feb 11th, 2000, 04:38 AM
#4
Thread Starter
Hyperactive Member
ok, thanks
------------------
Ryan
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
|