Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
get text from selected index in list
How do you get the text of the selected item in a list? I keep getting the index number returned instead of the text. If an example is provided it would be appreciated. thanks.
Get text from selected item in listbox
Hi,
This will list (the value of the listitem) for the currently highlighted/selected item in a list box:
|
Jabaco Source
|
1
2
3
|
If List1.ListCount > 0 Then
strList1SelectedItemsTextValue = List1.List(List1.ListIndex)
End If
|
Hope this helps!
Regards,
Jason
This post has been edited 1 times, last edit by "JasonS" (Oct 6th 2012, 1:18am)