Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting the value of a listbox
Message
 
To
20/06/2001 14:59:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00521620
Message ID:
00521627
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I have a listbox which contains a row source of strings such as "String1,String2,String3,String4". It's default value is set to 1. At run time, how can I determine the value of the string? The value property always returns an integer. I am looking for a way to return the string.

ThisForm.ListBox1.List(ThisForm.ListBox1.ListIndex) will do it
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform