Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from a ComboBox
Message
 
 
To
23/04/2003 20:19:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00780936
Message ID:
00780953
Views:
11
>Hi all,
>
>I have a ComboBox with RowSourceType = 5 Array.
>
>The items are displayed ok, but in the InteractiveChange the value from the propertie value is allways equal a zero.
>
>How can i get the value from the array position in ComboBox if i change the ComboBox?
>
>If i check the DisplayValue propertie it returns the right value, but i need the value from the second dimension, and it's not visible in the combo.
>Ex: Joao | 1, Carlos | 2, Santos ! 3, only the names are show in combo, but i need the second value.
>
>Thank's
>
>João Batista

Would myArray(combobox.ListIndex,2) work? Or combobox.List(combobox.ListIndex,2)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform