SteveCRM
Nov 19th, 1999, 09:00 PM
To test my math skills in VB, I'm making a currency converter. I have 2 Listboxes, one with the starting country, the second with countries you would like to convert the currncy to. How can I see what is highlited in the listboxes?
Steve
Aaron Young
Nov 19th, 1999, 10:22 PM
You need to check the Selected Property of each Item, eg.
Dim iIndex As Integer
For iIndex = 0 To List2.ListCount - 1
If List2.Selected(iIndex) Then
'This Item has been Selected
End If
Next
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net